EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
General-purpose timers (TIM)
UM1581
500/584
DocID023800 Rev 1
22.2.15.7 TIM_DMAConfig
Function Name
void TIM_DMAConfig ( TIM_TypeDef * TIMx, uint16_t
TIM_DMABase, uint16_t TIM_DMABurstLength)
Function Description
Configures the TIMx's DMA interface.
Parameters
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.
Return values
None.
Notes
None.
22.2.15.8 TIM_DMACmd
Function Name
void TIM_DMACmd ( TIM_TypeDef * TIMx, uint16_t
TIM_DMASource, FunctionalState NewState)
Function Description
Enables or disables the TIMx's DMA Requests.
Parameters
TIMx : where x can be 1, 2, 3, 4, 6, 7, 8, 15, 16 or 17 to
select the TIM peripheral.

Table of Contents

Related product manuals