5.1.2.13 rtcount_stopTimer

This function will stop the running timer and return the number of ticks it counted.

uint32_t rtcount_stopTimer(
    rtcountStruct_t * timer
)

Parameters

*timer

Type: rtcountStruct_t *

- timer instance.

Returns

Type: uint32_t

number of ticks counted by the timer.