General-purpose timers (TIM)
ï‚· TIM_DMASource : specifies the DMA Request sources. This
parameter can be any combination of the following values:
ï€ TIM_DMA_Update : TIM update Interrupt source
ï€ TIM_DMA_CC1 : TIM Capture Compare 1 DMA source
ï€ TIM_DMA_CC2 : TIM Capture Compare 2 DMA source
ï€ TIM_DMA_CC3 : TIM Capture Compare 3 DMA source
ï€ TIM_DMA_CC4 : TIM Capture Compare 4 DMA source
ï€ TIM_DMA_COM : TIM Commutation DMA source
ï€ TIM_DMA_Trigger : TIM Trigger DMA source
ï‚· NewState : new state of the DMA Request sources. This
parameter can be: ENABLE or DISABLE.
22.2.15.9 TIM_SelectCCDMA
void TIM_SelectCCDMA ( TIM_TypeDef * TIMx,
FunctionalState NewState)
Selects the TIMx peripheral Capture Compare DMA source.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· NewState : new state of the Capture Compare DMA source
This parameter can be: ENABLE or DISABLE.
22.2.16 Clock management functions
22.2.16.1 TIM_InternalClockConfig
void TIM_InternalClockConfig ( TIM_TypeDef * TIMx)
Configures the TIMx internal Clock.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.