Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / pigweed / repo / pw_interrupt / docs.rst
1 .. _module-pw_interrupt:
2
3 ------------
4 pw_interrupt
5 ------------
6 Pigweed's interrupt module provides a consistent interface for to determine
7 whether one is currently executing in an interrupt context (IRQ or NMI) or not.
8
9 .. c:function:: bool InInterruptContext()
10   Returns true if currently executing within an interrupt service routine
11   handling an IRQ or NMI.:w!
12