Skip to main content
duybienle
Associate II
August 11, 2016
Question

STM32L0: Pause Timer ?

  • August 11, 2016
  • 0 replies
  • 500 views
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
This topic has been closed for replies.