General-purpose timers (TIM)
ï‚· TIMx : where x can be 1 or 8 to select the TIM peripheral.
ï‚· TIM_OCNPolarity : specifies the OC3N Polarity This
parameter can be one of the following values:
ï€ TIM_OCNPolarity_High : Output Compare active high
ï€ TIM_OCNPolarity_Low : Output Compare active low
22.2.12.47 TIM_OC4PolarityConfig
void TIM_OC4PolarityConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_OCPolarity)
Configures the TIMx channel 4 polarity.
ï‚· TIMx : where x can be 1, 2, 3, 4 or 8 to select the TIM
peripheral.
ï‚· TIM_OCPolarity : specifies the OC4 Polarity This parameter
can be one of the following values:
ï€ TIM_OCPolarity_High : Output Compare active high
ï€ TIM_OCPolarity_Low : Output Compare active low
22.2.12.48 TIM_OC5PolarityConfig
void TIM_OC5PolarityConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_OCPolarity)
Configures the TIMx channel 5 polarity.
ï‚· TIMx : where x can be 1 or 8 to select the TIM peripheral.
ï‚· TIM_OCPolarity : specifies the OC5 Polarity This parameter
can be one of the following values:
ï€ TIM_OCPolarity_High : Output Compare active high
ï€ TIM_OCPolarity_Low : Output Compare active low