third_party.pigweed.src/pw_interrupt/docs.rst
Keir Mierle b19140275a docs: Update Sphinx; remove Markdown; add CSS
This completes the update of Sphinx and RST by removing the legacy
Markdown support. It also adds custom CSS skeleton.

Change-Id: I398a21208772cf2d2dd32dee0adac768630dd575
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/40621
Commit-Queue: Keir Mierle <keir@google.com>
Pigweed-Auto-Submit: Keir Mierle <keir@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
2021-05-03 16:34:17 +00:00

14 lines
369 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!