Interrupts And Flags Management Functions - ST STM32F31xx User Manual

Table of Contents

Advertisement

UM1581
7.2.8

Interrupts and flags management functions

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

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