Question
How change the PWM polarity of CH2N during runtime ?
I have set Timer 8 to PWM Generation CH2 CH2N. Based on the value read by the ADC, I want to change the polarity of both CH2 and CH2N. I have found that using
__HAL_TIM_SET_CAPTUREPOLARITY, I could change the polarity of CH2
but the polarity of CH1N remains the same as shown in the image. So how could I change the polarity of both CH2 CH2N ?
