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...
UM1581
System configuration controller (SYSCFG)
DocID023800 Rev 1
435/584
21.2.3.3 SYSCFG_DMAChannelRemapConfig
Function Name
void SYSCFG_DMAChannelRemapConfig ( uint32_t
SYSCFG_DMARemap, FunctionalState NewState)
Function
Description
Configures the DMA channels remapping.
Parameters
SYSCFG_DMARemap : selects the DMA channels remap. This
parameter can be one of the following values:
SYSCFG_DMARemap_TIM17 : Remap TIM17 DMA
requests from DMA1 channel1 to channel2
SYSCFG_DMARemap_TIM16 : Remap TIM16 DMA
requests from DMA1 channel3 to channel4
SYSCFG_DMARemap_TIM6DAC1 : Remap TIM6/DAC1
DMA requests from DMA2 channel 3 to DMA1 channel 3
SYSCFG_DMARemap_TIM7DAC2 : Remap TIM7/DAC2
DMA requests from DMA2 channel 4 to DMA1 channel 4
SYSCFG_DMARemap_ADC2ADC4 : Remap ADC2 and
ADC4 DMA requests from DMA2 channel1/channel3 to
channel3/channel4
NewState : new state of the DMA channel remapping. This
parameter can be: Enable or Disable.
Return values
None.
Notes
When enabled, DMA channel of the selected peripheral is
remapped
When disabled, Default DMA channel is mapped to the selected
peripheral
By default TIM17 DMA requests is mapped to channel 1 use
SYSCFG_DMAChannelRemapConfig(SYSCFG_DMARemap_TI
M17, Enable) to remap TIM17 DMA requests to DMA1 channel 2
use
SYSCFG_DMAChannelRemapConfig(SYSCFG_DMARemap_TI
M17, Disable) to map TIM17 DMA requests to DMA1 channel 1
(default mapping)
21.2.3.4 SYSCFG_TriggerRemapConfig
Function Name
void SYSCFG_TriggerRemapConfig ( uint32_t
SYSCFG_TriggerRemap, FunctionalState NewState)
Function Description
Configures the remapping capabilities of DAC/TIM triggers.
Parameters
SYSCFG_TriggerRemap : selects the trigger to be
remapped. This parameter can be one of the following values:
SYSCFG_TriggerRemap_DACTIM3 : Remap DAC

Table of Contents

Related product manuals