System configuration controller (SYSCFG)
21.2.3.3 SYSCFG_DMAChannelRemapConfig
void SYSCFG_DMAChannelRemapConfig ( uint32_t
SYSCFG_DMARemap, FunctionalState NewState)
Configures the DMA channels remapping.
ï‚· 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.
ï‚· 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
void SYSCFG_TriggerRemapConfig ( uint32_t
SYSCFG_TriggerRemap, FunctionalState NewState)
Configures the remapping capabilities of DAC/TIM triggers.
ï‚· SYSCFG_TriggerRemap : selects the trigger to be
remapped. This parameter can be one of the following values:
ï€ SYSCFG_TriggerRemap_DACTIM3 : Remap DAC