EasyManuals Logo

ST STM32F31xx User Manual

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
Page #168 background imageLoading...
Page #168 background image
Digital-to-analog converter (DAC)
UM1581
168/584
DocID023800 Rev 1
7.2.6.11 DAC_GetDataOutputValue
Function Name
uint16_t DAC_GetDataOutputValue ( uint32_t DAC_Channel)
Function Description
Returns the last data output value of the selected DAC channel.
Parameters
ï‚· DAC_Channel : The selected DAC channel. This parameter
can be:
 DAC_Channel_1 : DAC Channel1 selected
 DAC_Channel_2 : DAC Channel2 selected
Return values
ï‚· The selected DAC channel data output value.
Notes
ï‚· None.
7.2.7 DAC management functions
7.2.7.1 DAC_DMACmd
Function Name
void DAC_DMACmd ( uint32_t DAC_Channel, FunctionalState
NewState)
Function Description
Enables or disables the specified DAC channel DMA request.
Parameters
ï‚· DAC_Channel : The selected DAC channel. This parameter
can be:
 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.
Return values
ï‚· None.
Notes
ï‚· 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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals