STM32Cube timer interrupt