Skip to main content
sincoon
Associate III
April 1, 2015
Question

Change timer's period on the fly

  • April 1, 2015
  • 2 replies
  • 468 views
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
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
April 1, 2015
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
sincoon
sincoonAuthor
Associate III
April 3, 2015
Posted on April 03, 2015 at 16:53

Thank you, clive1! This works!