C/C++ API Reference
Loading...
Searching...
No Matches
pw_interrupt

Oveview

Main docs: https://pigweed.dev/pw_interrupt.

Functions

bool pw::interrupt::InInterruptContext ()
 Checks if the currently executing code is within an interrupt service routine handling an interrupt request (IRQ) or non-maskable interrupt (NMI).
 

Function Documentation

◆ InInterruptContext()

bool pw::interrupt::InInterruptContext ( )

Checks if the currently executing code is within an interrupt service routine handling an interrupt request (IRQ) or non-maskable interrupt (NMI).

Returns
true if the the currently executing code is in an interrupt context. false if not.