MCPcopy Create free account
hub / github.com/FastLED/FastLED / inInterruptContext

Method inInterruptContext

src/platforms/arm/teensy/coroutine_teensy.impl.hpp:246–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246bool CoroutinePlatformTeensy::inInterruptContext() const FL_NOEXCEPT {
247 fl::u32 ipsr;
248 __asm__ volatile("MRS %0, ipsr" : "=r"(ipsr)) FL_NOEXCEPT;
249 return ipsr != 0;
250}
251
252bool CoroutinePlatformTeensy::checkStackHealth(void* ctx) const FL_NOEXCEPT {
253 if (!ctx) return true;

Callers 2

resumeMethod · 0.45
suspendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected