MCPcopy Create free account
hub / github.com/f9micro/f9-kernel / in_isr_context

Function in_isr_context

include/platform/irq.h:38–41  ·  view source on GitHub ↗

* Fast ISR context check using hardware IPSR register. * Returns: true if currently in exception handler, false if in thread mode. * Zero overhead: Single MRS instruction, no memory access or race conditions. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

IPSRFunction · 0.85

Tested by

no test coverage detected