STM8L15x Standard Peripherals Drivers: DMA management functions

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

DMA management functions

DMA management functions. More...

Functions

void DAC_DMACmd (DAC_Channel_TypeDef DAC_Channel, FunctionalState NewState)
 Enables or disables the specified DAC channel DMA request.

Detailed Description

DMA management functions.

 ===============================================================================
                          DMA management function
 ===============================================================================  


Function Documentation

void DAC_DMACmd ( DAC_Channel_TypeDef  DAC_Channel,
FunctionalState  NewState 
)

Enables or disables the specified DAC channel DMA request.

When enabled DMA1 is generated when an external trigger occurs

Parameters:
DAC_Channel,:the selected DAC channel. This parameter can be one of the following values:
  • DAC_Channel_1: DAC Channel1 selected
  • DAC_Channel_2: DAC Channel2 selected
NewState,:new state of the selected DAC channel DMA request. This parameter can be: ENABLE or DISABLE. The DAC channel1 (channel2) is mapped on DMA1 channel3 (channel1) which must be already configured.
Return values:
None

Definition at line 607 of file stm8l15x_dac.c.

References CR2_Offset, DAC_BASE, DAC_CR2_DMAEN, DISABLE, IS_DAC_CHANNEL, and IS_FUNCTIONAL_STATE.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com