Digital-to-analog converter (DAC)
7.2.8.3 DAC_ClearFlag
void DAC_ClearFlag ( uint32_t DAC_Channel, uint32_t
DAC_FLAG)
Clears the DAC channel's pending flags.
ï‚· 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 clear. This parameter can
be of the following value:
ï€ DAC_FLAG_DMAUDR : DMA underrun flag
7.2.8.4 DAC_GetITStatus
ITStatus DAC_GetITStatus ( uint32_t DAC_Channel, uint32_t
DAC_IT)
Checks whether the specified DAC interrupt has occurred or not.
ï‚· 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 source to check. This
parameter can be the following values:
ï€ DAC_IT_DMAUDR : DMA underrun interrupt mask
ï‚· The new state of DAC_IT (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).