STM32: AdvancedTimer: added generateEvent method.

TODO: Add generateEvent method for General Purpose Timers.
[Regenerated Templates]
Merge branch 'feature/stm32_timer_motor_control' into feature/uart_hal