If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
uint32_t Timer_getCount (Timer_Handle handle)
Function to get the current count of a timer. The value returned represents timer counts. The value returned is always characteristic of an up counter. This is true even if the timer peripheral is counting down. Some device-specific implementations may employ a prescaler in addition to this timer count.
int32_t Timer_setPeriod (Timer_Handle handle, Timer_PeriodUnits periodUnits, uint32_t period)
Function to set the period of a timer after it has been opened.
是否可以通过这两函数实现计数值清零效果,ti是否有直接的API清空定时器的计数值?