cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L0: Pause Timer ?

duybienle
Associate II
Posted on August 11, 2016 at 16:00

Hi,

When using a Timer and Compare value mode to generate an interrupt when the compared value is reached:

        - Is it possible to pause the timer so that its current count value is halt instead of reseting the count value back to zero, and then when starting the timer again it will resume from the halt count value?

And also I'm not sure whether the HAL_TIM_BASE_STOP_IT() function will:

        - Reset the count value to 0 ? or

        - stop and hold the count value at its current state ?

Thanks,

Bien

#!timer #stm32l0
0 REPLIES 0