circuitpython/supervisor/shared/cpu.h
2024-05-19 20:40:44 -04:00

13 lines
335 B
C

// This file is part of the CircuitPython project: https://circuitpython.org
//
// SPDX-FileCopyrightText: Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
//
// SPDX-License-Identifier: MIT
#pragma once
#include <stdbool.h>
#include <stddef.h>
// True when we're in an interrupt handler.
bool cpu_interrupt_active(void);