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

Function timer_start

TactilityKernel/source/concurrent/timer.c:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51error_t timer_start(struct Timer* timer) {
52 check(xPortInIsrContext() == pdFALSE);
53 check(timer != NULL);
54 return (xTimerStart(timer->handle, portMAX_DELAY) == pdPASS) ? ERROR_NONE : ERROR_TIMEOUT;
55}
56
57error_t timer_stop(struct Timer* timer) {
58 check(xPortInIsrContext() == pdFALSE);

Callers 1

TimerTest.cppFile · 0.85

Calls 1

checkFunction · 0.50

Tested by

no test coverage detected