General-purpose timers (TIM)
22.2.12.49 TIM_OC6PolarityConfig
void TIM_OC6PolarityConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_OCPolarity)
Configures the TIMx channel 6 polarity.
ï‚· TIMx : where x can be 1 or 8 to select the TIM peripheral.
ï‚· TIM_OCPolarity : specifies the OC6 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.50 TIM_CCxCmd
void TIM_CCxCmd ( TIM_TypeDef * TIMx, uint16_t
TIM_Channel, uint16_t TIM_CCx)
Enables or disables the TIM Capture Compare Channel x.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· TIM_Channel : specifies the TIM Channel This parameter
can be one of the following values:
ï€ TIM_Channel_1 : TIM Channel 1
ï€ TIM_Channel_2 : TIM Channel 2
ï€ TIM_Channel_3 : TIM Channel 3
ï€ TIM_Channel_4 : TIM Channel 4
ï€ TIM_Channel_5 : TIM Channel 5
ï€ TIM_Channel_6 : TIM Channel 6
ï‚· TIM_CCx : specifies the TIM Channel CCxE bit new state.
This parameter can be: TIM_CCx_Enable or
TIM_CCx_Disable.