cancel
Showing results for 
Search instead for 
Did you mean: 

Change timer's period on the fly

sincoon
Associate II
Posted on April 01, 2015 at 15:57

How could I change timer's period during program's work? I am using CubeMX and HAL, stm32f4discovery

#hal #timer #stm32cube
2 REPLIES 2
Posted on April 01, 2015 at 17:07

Look at the HAL functions or macros, you should be able to access the peripheral structure pointer, and write to xx->ARR

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
sincoon
Associate II
Posted on April 03, 2015 at 16:53

Thank you, clive1! This works!