Question
Please share or let me know what is the best solution for a long timer ( 2 to 4 Hours) interrupt example(s)
I want to set up the interrupt for system power off the main MCU, the STM32L4 xx .
As soon it is powered on, then starting the timer to turn it off after 2- to- 4 Hours.
Please point me how to implement it since I'm still new for STM32L4xx
