mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
13 lines
368 B
ReStructuredText
13 lines
368 B
ReStructuredText
|
.. _module-pw_interrupt:
|
||
|
|
||
|
------------
|
||
|
pw_interrupt
|
||
|
------------
|
||
|
Pigweed's interrupt module provides a consistent interface for to determine
|
||
|
whether one is currently executing in an interrupt context (IRQ or NMI) or not.
|
||
|
|
||
|
.. c:function:: bool InInterruptContext()
|
||
|
Returns true if currently executing within an interrupt service routine
|
||
|
handling an IRQ or NMI.:w!
|
||
|
|