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 #169 background imageLoading...
Page #169 background image
UM1581
Digital-to-analog converter (DAC)
DocID023800 Rev 1
169/584
7.2.8 Interrupts and flags management functions
7.2.8.1 DAC_ITConfig
Function Name
void DAC_ITConfig ( uint32_t DAC_Channel, uint32_t DAC_IT,
FunctionalState NewState)
Function Description
Enables or disables the specified DAC interrupts.
Parameters
ï‚· DAC_Channel : The selected DAC channel. This parameter
can be:
 DAC_Channel_1 : DAC Channel1 selected
 DAC_Channel_2 : DAC Channel2 selected
ï‚· DAC_IT : specifies the DAC interrupt sources to be enabled
or disabled. This parameter can be the following values:
 DAC_IT_DMAUDR : DMA underrun interrupt mask
Parameters
ï‚· NewState : new state of the specified DAC interrupts. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· The DMA underrun occurs when a second external trigger
arrives before the acknowledgement for the first external
trigger is received (first request).
7.2.8.2 DAC_GetFlagStatus
Function Name
FlagStatus DAC_GetFlagStatus ( uint32_t DAC_Channel,
uint32_t DAC_FLAG)
Function Description
Checks whether the specified DAC flag is set or not.
Parameters
ï‚· DAC_Channel : The selected DAC channel. This parameter
can be:
 DAC_Channel_1 : DAC Channel1 selected
 DAC_Channel_2 : DAC Channel2 selected
ï‚· DAC_FLAG : specifies the flag to check. This parameter can
be only of the following value:
 DAC_FLAG_DMAUDR : DMA underrun flag
Return values
ï‚· The new state of DAC_FLAG (SET or RESET).
Notes
ï‚· The DMA underrun occurs when a second external trigger
arrives before the acknowledgement for the first external
trigger is received (first request).

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