7.1.2.20 timeout_stopTimer
This function is specifically used in Stopwatch/cycle counter mode. It will stop the running timer and return the number of ticks it counted.
uint32_t timeout_stopTimer(
timerStruct_t * timer
)
Parameters
- *timer
-
Type: timerStruct_t *
- timer instance that is used in stopwatch mode.
Returns
Type: uint32_t
number of ticks counted by the timer.