STM32L486xx HAL User Manual
Defines
DAC Error Code
DAC Exported Constants

Defines

#define HAL_DAC_ERROR_NONE   0x00U
#define HAL_DAC_ERROR_DMAUNDERRUNCH1   0x01U
#define HAL_DAC_ERROR_DMAUNDERRUNCH2   0x02U
#define HAL_DAC_ERROR_DMA   0x04U
#define HAL_DAC_ERROR_TIMEOUT   0x08U
#define HAL_DAC_ERROR_INVALID_CALLBACK   0x10U

Define Documentation

#define HAL_DAC_ERROR_DMA   0x04U

DMA error

Definition at line 202 of file stm32l4xx_hal_dac.h.

Referenced by DAC_DMAErrorCh1(), and DAC_DMAErrorCh2().

#define HAL_DAC_ERROR_DMAUNDERRUNCH1   0x01U

DAC channel1 DMA underrun error

Definition at line 200 of file stm32l4xx_hal_dac.h.

Referenced by HAL_DAC_IRQHandler().

#define HAL_DAC_ERROR_DMAUNDERRUNCH2   0x02U

DAC channel2 DMA underrun error

Definition at line 201 of file stm32l4xx_hal_dac.h.

Referenced by HAL_DAC_IRQHandler().

#define HAL_DAC_ERROR_INVALID_CALLBACK   0x10U

Invalid callback error

Definition at line 205 of file stm32l4xx_hal_dac.h.

Referenced by HAL_DAC_RegisterCallback(), and HAL_DAC_UnRegisterCallback().

#define HAL_DAC_ERROR_NONE   0x00U

No error

Definition at line 199 of file stm32l4xx_hal_dac.h.

Referenced by HAL_DAC_DeInit(), and HAL_DAC_Init().

#define HAL_DAC_ERROR_TIMEOUT   0x08U

Timeout error

Definition at line 203 of file stm32l4xx_hal_dac.h.

Referenced by HAL_DAC_ConfigChannel().