Long timer periods
Hello,
I would like to have timer interrupts every 10 minutes for temperature readings. Also, I would like to have opportunity to change this period in the code. How could such long period be implemented? Are there any examples? I am using STM32L011 MCU and STM32CubeIDE environment.
I attach generated Timer initialization function.
The maximum period I can enter is 65 536 ms (2^16) which is 65.536 seconds. If I enter for example 70 000 then timer interrupts every 5 seconds.
How could I set period to 10 minutes (600 000 ms)? MCU works at maximum 32 MHz.
Thank you.