Simple timer usage on STM32.