I have a center aligned PWM function on my application. I can tune duty cycle.
So my high level corresponds @ +VDD (3.3V) and my low level corresponds à VSS.
But, i would like that the high level correspond @+5.5V (provides by external alimentation of application) and my level @ GND.
Is it possible to configure the direction PWM port while cycle.
TMP1CH0 Port Direction= Input (High Impedance) while counter up
TMP1CH0 Port Direction= Output (GND provide by µC) while counter down.
I connect a pull up on this TPM1CH0 pin.
Thanks you for your help