2021-01-16 02:58 PM
2021-01-16 03:48 PM
What chip are you using?
On most (all?) families, there is no issue setting channel 1 and 2 pins to AF mode and having the pin for channel 3 be a GPIO pin. In this case, it doesn't matter what OCMODE for channel 3 is set to since the pin is disconnected from the timer.