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

Overview

Interrupt handling utilities for embedded systems.

Main docs: Home

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 currently executing code is in an interrupt context. false if not.