General-purpose timers (TIM)
22.2.12.51 TIM_CCxNCmd
void TIM_CCxNCmd ( TIM_TypeDef * TIMx, uint16_t
TIM_Channel, uint16_t TIM_CCxN)
Enables or disables the TIM Capture Compare Channel xN.
ï‚· TIMx : where x can be 1, 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_CCxN : specifies the TIM Channel CCxNE bit new
state. This parameter can be: TIM_CCxN_Enable or
TIM_CCxN_Disable.
22.2.13 Input Capture management functions
22.2.13.1 TIM_ICInit
void TIM_ICInit ( TIM_TypeDef * TIMx, TIM_ICInitTypeDef *
TIM_ICInitStruct)
Initializes the TIM peripheral according to the specified
parameters in the TIM_ICInitStruct.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· TIM_ICInitStruct : pointer to a TIM_ICInitTypeDef structure
that contains the configuration information for the specified
TIM peripheral.