General-purpose timers (TIM)
22.2.12.42 TIM_OC1NPolarityConfig
void TIM_OC1NPolarityConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_OCNPolarity)
Configures the TIMx Channel 1N polarity.
ï‚· TIMx : where x can be 1, 8, 15, 16 or 17 to select the TIM
peripheral.
ï‚· TIM_OCNPolarity : specifies the OC1N 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.43 TIM_OC2PolarityConfig
void TIM_OC2PolarityConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_OCPolarity)
Configures the TIMx channel 2 polarity.
ï‚· TIMx : where x can be 1, 2, 3, 4 8 or 15 to select the TIM
peripheral.
ï‚· TIM_OCPolarity : specifies the OC2 Polarity This parameter
can be one of the following values:
ï€ TIM_OCPolarity_High : Output Compare active high
ï€ TIM_OCPolarity_Low : Output Compare active low