HAL
__HAL_DAC_CLEAR_FLAG is only used within HAL.
 
Symbols
loading...
Files
loading...

__HAL_DAC_CLEAR_FLAG macro

Clear the DAC's flag.

Syntax

#define __HAL_DAC_CLEAR_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR) = (__FLAG__))

Arguments

__HANDLE__

specifies the DAC handle.

__FLAG__

specifies the DAC flag to clear. This parameter can be any combination of the following values: @arg DAC_FLAG_DMAUDR1 DAC channel 1 DMA underrun flag @arg DAC_FLAG_DMAUDR2 DAC channel 2 DMA underrun flag

Return value

None

References

LocationText
stm32f4xx_hal_dac.h:348
#define __HAL_DAC_CLEAR_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR) = (__FLAG__))
stm32f4xx_hal_dac.c:737
__HAL_DAC_CLEAR_FLAG(hdac, DAC_FLAG_DMAUDR1);
stm32f4xx_hal_dac.c:764
__HAL_DAC_CLEAR_FLAG(hdac, DAC_FLAG_DMAUDR2);