MCPcopy Create free account
hub / github.com/SmingHub/Sming / showInterruptToggleCount

Function showInterruptToggleCount

samples/Basic_Interrupts/app/application.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10static unsigned interruptToggleCount;
11
12void showInterruptToggleCount(uint32_t toggleCount)
13{
14 Serial << _F("Toggle count hit ") << toggleCount << _F(", current value is ") << interruptToggleCount << '!'
15 << endl;
16 Serial << _F("Max tasks queued: ") << System.getMaxTaskCount() << endl;
17}
18
19/** @brief Low-level interrupt handler
20 * @note An interrupt handling callback must have the IRAM_ATTR attribute.

Callers

nothing calls this directly

Calls 1

getMaxTaskCountMethod · 0.80

Tested by

no test coverage detected