Hardware Timer usage to get the time elapsed
Hi STM Community,
I have just started to work on the STM32L4S5 based microcontroller and I wanted to use Hardware timer to get the time elapsed between two instructions, I generated a code using STM32CubeMX for Timer3 but it gave me only the initialization of the timer3.
How can I use the HAL driver to obtain the time elapsed? I have created timer in Base mode and the Period is 65535. I mean will it upcount till this Period and give an event for me to know? if so how do I capture the event?
If there is any example program available, sharing it to me would be really helpful.
Thanks a lot!!
