xref: /aosp_15_r20/external/pigweed/pw_interrupt/docs.rst (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1*61c4878aSAndroid Build Coastguard Worker.. _module-pw_interrupt:
2*61c4878aSAndroid Build Coastguard Worker
3*61c4878aSAndroid Build Coastguard Worker------------
4*61c4878aSAndroid Build Coastguard Workerpw_interrupt
5*61c4878aSAndroid Build Coastguard Worker------------
6*61c4878aSAndroid Build Coastguard WorkerPigweed's interrupt module provides a consistent interface for determining
7*61c4878aSAndroid Build Coastguard Workerwhether your code is currently executing in an interrupt context (IRQ or NMI)
8*61c4878aSAndroid Build Coastguard Workeror not.
9*61c4878aSAndroid Build Coastguard Worker
10*61c4878aSAndroid Build Coastguard Worker.. doxygenfunction:: pw::interrupt::InInterruptContext()
11*61c4878aSAndroid Build Coastguard Worker
12*61c4878aSAndroid Build Coastguard Worker
13*61c4878aSAndroid Build Coastguard Worker.. toctree::
14*61c4878aSAndroid Build Coastguard Worker   :hidden:
15*61c4878aSAndroid Build Coastguard Worker   :maxdepth: 1
16*61c4878aSAndroid Build Coastguard Worker
17*61c4878aSAndroid Build Coastguard Worker   Backends <backends>
18