This function will stop the running timer and return the number of ticks it counted.
uint32_t rtcount_stopTimer( rtcountStruct_t * timer )
Type: rtcountStruct_t *
- timer instance.
Type: uint32_t
number of ticks counted by the timer.