MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / timer_reset

Function timer_reset

TactilityKernel/source/concurrent/timer.c:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72error_t timer_reset(struct Timer* timer) {
73 check(xPortInIsrContext() == pdFALSE);
74 check(timer != NULL);
75 return (xTimerReset(timer->handle, portMAX_DELAY) == pdPASS) ? ERROR_NONE : ERROR_TIMEOUT;
76}
77
78bool timer_is_running(struct Timer* timer) {
79 check(xPortInIsrContext() == pdFALSE);

Callers 1

TimerTest.cppFile · 0.85

Calls 1

checkFunction · 0.50

Tested by

no test coverage detected