General-purpose timers (TIM)
22.2.14.8 TIM_SelectCOM
void TIM_SelectCOM ( TIM_TypeDef * TIMx, FunctionalState
NewState)
Selects the TIM peripheral Commutation event.
ï‚· TIMx : where x can be 1, 8, 15, 16 or 17 to select the TIMx
peripheral
ï‚· NewState : new state of the Commutation event. This
parameter can be: ENABLE or DISABLE.
22.2.14.9 TIM_CCPreloadControl
void TIM_CCPreloadControl ( TIM_TypeDef * TIMx,
FunctionalState NewState)
Sets or Resets the TIM peripheral Capture Compare Preload
Control bit.
ï‚· TIMx : where x can be 1 or 8 to select the TIMx peripheral
ï‚· NewState : new state of the Capture Compare Preload
Control bit This parameter can be: ENABLE or DISABLE.
22.2.15 Interrupts DMA and flags management functions
22.2.15.1 TIM_ITConfig
void TIM_ITConfig ( TIM_TypeDef * TIMx, uint16_t TIM_IT,
FunctionalState NewState)
Enables or disables the specified TIM interrupts.
ï‚· TIMx : where x can be 1, 2, 3, 4, 6, 7, 8, 15, 16 or 17 to
select the TIMx peripheral.