Toggling a led with an overflow time interrupt and starting the timer with a button
This repository shows:
-How to configure the TIM1 as a time base
-How to toggle a led with the update Interrupt (means when the counter overflow the period)
-How to start the TIM1 with a button and stop it in the ISR
-How to set a value to the counter in runtime
-How to clear a flag of the timer
EX_9.6_Simple_timeout_application.pdf= report generated by CUBEMX