STM32F407G - Pulse Width Modulation controlled via GPIO pins