Dac Management Functions - ST STM32F31xx User Manual

Table of Contents

Advertisement

Digital-to-analog converter (DAC)
7.2.6.11
DAC_GetDataOutputValue
Function Name
Function Description
Parameters
Return values
Notes
7.2.7

DAC management functions

7.2.7.1
DAC_DMACmd
Function Name
Function Description
Parameters
Return values
Notes
168/584
uint16_t DAC_GetDataOutputValue ( uint32_t DAC_Channel)
Returns the last data output value of the selected DAC channel.
DAC_Channel : The selected DAC channel. This parameter
can be:
DAC_Channel_1 :
DAC_Channel_2 :
The selected DAC channel data output value.
None.
void DAC_DMACmd ( uint32_t DAC_Channel,
NewState)
Enables or disables the specified DAC channel DMA request.
DAC_Channel : The selected DAC channel. This parameter
can be:
DAC_Channel_1 :
DAC_Channel_2 :
NewState : new state of the selected DAC channel DMA
request. This parameter can be: ENABLE or DISABLE.
None.
When enabled DMA1 is generated when an external trigger
(EXTI Line9, TIM2, TIM4, TIM5, TIM6, TIM7 or TIM8 but not a
software trigger) occurs.
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.
DocID023800 Rev 1
DAC Channel1 selected
DAC Channel2 selected
FunctionalState
DAC Channel1 selected
DAC Channel2 selected
UM1581

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F31xx and is the answer not in the manual?

This manual is also suitable for:

Stm32f30xx

Table of Contents