Functions

DMA management functions. More...

Collaboration diagram for DMA management functions:

Functions

void DAC_DMACmd (uint32_t DAC_Channel, FunctionalState NewState)
 Enables or disables the specified DAC channel DMA request. More...
 
void DAC_DMACmd (DAC_TypeDef *DACx, uint32_t DAC_Channel, FunctionalState NewState)
 Enables or disables the specified DAC channel DMA request. When enabled DMA1 is generated when an external trigger (EXTI Line9, TIM2, TIM4, TIM6, TIM7 or TIM9 but not a software trigger) occurs. More...
 

Detailed Description

DMA management functions.

 ===============================================================================
                       ##### DMA management functions #####
 ===============================================================================  

Function Documentation

void DAC_DMACmd ( uint32_t  DAC_Channel,
FunctionalState  NewState 
)

Enables or disables the specified DAC channel DMA request.

Note
When enabled DMA1 is generated when an external trigger (EXTI Line9, TIM2, TIM4, TIM5, TIM6, TIM7 or TIM8 but not a software trigger) occurs.
Parameters
DAC_ChannelThe selected DAC channel. This parameter can be one of the following values:
  • DAC_Channel_1: DAC Channel1 selected
  • DAC_Channel_2: DAC Channel2 selected
NewStatenew state of the selected DAC channel DMA request. This parameter can be: ENABLE or DISABLE.
Note
The DAC channel1 is mapped on DMA1 Stream 5 channel7 which must be already configured.
The DAC channel2 is mapped on DMA1 Stream 6 channel7 which must be already configured.
Return values
None

Definition at line 510 of file stm32f4xx_dac.c.

void DAC_DMACmd ( DAC_TypeDef DACx,
uint32_t  DAC_Channel,
FunctionalState  NewState 
)

Enables or disables the specified DAC channel DMA request. When enabled DMA1 is generated when an external trigger (EXTI Line9, TIM2, TIM4, TIM6, TIM7 or TIM9 but not a software trigger) occurs.

Parameters
DACxwhere x can be 1 or 2 to select the DAC peripheral.
DAC_Channelthe selected DAC channel. This parameter can be one of the following values:
  • DAC_Channel_1: DAC Channel1 selected
  • DAC_Channel_2: DAC Channel2 selected
NewStatenew state of the selected DAC channel DMA request. This parameter can be: ENABLE or DISABLE.
Note
The DAC channel1 (channel2) is mapped on DMA1 channel3 (channel4) which must be already configured.
Return values
None

Definition at line 540 of file stm32f30x_dac.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Fri Oct 9 2020 03:17:19