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

Function hwTimerCallback

samples/Basic_Tasks/app/application.cpp:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void IRAM_ATTR hwTimerCallback()
67{
68 ++hwTimerCount;
69
70 if(hwTimer.expired()) {
71 unsigned count = hwTimerCount;
72 // System.queueCallback([count]() { hwTimerDelegate(count); });
73 System.queueCallback(hwTimerDelegate, count);
74 hwTimer.start();
75 }
76}
77
78void onReady()
79{

Callers

nothing calls this directly

Calls 3

expiredMethod · 0.45
queueCallbackMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected