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

Function timer_stop

TactilityKernel/source/concurrent/timer.c:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57error_t timer_stop(struct Timer* timer) {
58 check(xPortInIsrContext() == pdFALSE);
59 check(timer != NULL);
60 return (xTimerStop(timer->handle, portMAX_DELAY) == pdPASS) ? ERROR_NONE : ERROR_TIMEOUT;
61}
62
63error_t timer_reset_with_interval(struct Timer* timer, TickType_t interval) {
64 check(xPortInIsrContext() == pdFALSE);

Callers 1

TimerTest.cppFile · 0.85

Calls 1

checkFunction · 0.50

Tested by

no test coverage detected