General-purpose timers (TIM)
22.2.15.7 TIM_DMAConfig
void TIM_DMAConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_DMABase, uint16_t TIM_DMABurstLength)
Configures the TIMx's DMA interface.
TIMx : where x can be 1, 2, 3, 4 or 8 to select the TIM
peripheral.
TIM_DMABase : DMA Base address. This parameter can be
one of the following values:
TIM_DMABase_CR1 :
TIM_DMABase_CR2 :
TIM_DMABase_SMCR :
TIM_DMABase_DIER :
TIM1_DMABase_SR :
TIM_DMABase_EGR :
TIM_DMABase_CCMR1 :
TIM_DMABase_CCMR2 :
TIM_DMABase_CCER :
TIM_DMABase_CNT :
TIM_DMABase_PSC :
TIM_DMABase_ARR :
TIM_DMABase_RCR :
TIM_DMABase_CCR1 :
TIM_DMABase_CCR2 :
TIM_DMABase_CCR3 :
TIM_DMABase_CCR4 :
TIM_DMABase_BDTR :
TIM_DMABase_DCR :
TIM_DMABurstLength : DMA Burst length. This parameter
can be one value between: TIM_DMABurstLength_1Transfer
and TIM_DMABurstLength_18Transfers.
22.2.15.8 TIM_DMACmd
void TIM_DMACmd ( TIM_TypeDef * TIMx, uint16_t
TIM_DMASource, FunctionalState NewState)
Enables or disables the TIMx's DMA Requests.
TIMx : where x can be 1, 2, 3, 4, 6, 7, 8, 15, 16 or 17 to
select the TIM peripheral.