I am hoping to get some clarification on using a Timer based PWM output to control a couple cathodes of a tri-color common anode LED. I setup the pins to be gpio outputs od (open drain) with GPIOPinTypeGPIOOutputOD followed by a pad config to set the pin strength to 12ma and open drain with a GPIOPadConfigSet.
My question is, when I configure those pins later with a GPIOPinConfigure(GPIO_PD6_WT5CCP0) and a GPIOPinTypeTimer(GPIO_PORTD_BASE, GPIO_PIN_6) for example, is that just blowing away my previous open drain settings? I don't quite understand where the cut off is from a pin being a standard gpio to a timer pwm gpio.
Is it possible to set a gpio timer pwm pin to be open drain?
Any insight would be greatly appreciated!