STM32F439xx HAL User Manual
Functions
Peripheral State and Errors functions
DAC Exported Functions

Peripheral State and Errors functions. More...

Functions

HAL_DAC_StateTypeDef HAL_DAC_GetState (DAC_HandleTypeDef *hdac)
 return the DAC state
uint32_t HAL_DAC_GetError (DAC_HandleTypeDef *hdac)
 Return the DAC error code.
void HAL_DAC_IRQHandler (DAC_HandleTypeDef *hdac)
 Handles DAC interrupt request.
void HAL_DAC_ConvCpltCallbackCh1 (DAC_HandleTypeDef *hdac)
 Conversion complete callback in non blocking mode for Channel1.
void HAL_DAC_ConvHalfCpltCallbackCh1 (DAC_HandleTypeDef *hdac)
 Conversion half DMA transfer callback in non blocking mode for Channel1.
void HAL_DAC_ErrorCallbackCh1 (DAC_HandleTypeDef *hdac)
 Error DAC callback for Channel1.
void HAL_DAC_DMAUnderrunCallbackCh1 (DAC_HandleTypeDef *hdac)
 DMA underrun DAC callback for channel1.

Detailed Description

Peripheral State and Errors functions.

  ==============================================================================
            ##### Peripheral State and Errors functions #####
  ==============================================================================  
    [..]
    This subsection provides functions allowing to
      (+) Check the DAC state.
      (+) Check the DAC Errors.
        

Function Documentation

Conversion complete callback in non blocking mode for Channel1.

Parameters:
hdacpointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Return values:
None

Definition at line 687 of file stm32f4xx_hal_dac.c.

Referenced by DAC_DMAConvCpltCh1().

Conversion half DMA transfer callback in non blocking mode for Channel1.

Parameters:
hdacpointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Return values:
None

Definition at line 702 of file stm32f4xx_hal_dac.c.

Referenced by DAC_DMAHalfConvCpltCh1().

DMA underrun DAC callback for channel1.

Parameters:
hdacpointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Return values:
None

Definition at line 732 of file stm32f4xx_hal_dac.c.

Referenced by HAL_DAC_IRQHandler().

Error DAC callback for Channel1.

Parameters:
hdacpointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Return values:
None

Definition at line 717 of file stm32f4xx_hal_dac.c.

Referenced by DAC_DMAErrorCh1().

uint32_t HAL_DAC_GetError ( DAC_HandleTypeDef hdac)

Return the DAC error code.

Parameters:
hdacpointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Return values:
DACError Code

Definition at line 892 of file stm32f4xx_hal_dac.c.

References DAC_HandleTypeDef::ErrorCode.

return the DAC state

Parameters:
hdacpointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Return values:
HALstate

Definition at line 879 of file stm32f4xx_hal_dac.c.

References DAC_HandleTypeDef::State.

Handles DAC interrupt request.

Parameters:
hdacpointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC.
Return values:
None

Definition at line 641 of file stm32f4xx_hal_dac.c.

References __HAL_DAC_CLEAR_FLAG, __HAL_DAC_GET_FLAG, DAC_FLAG_DMAUDR1, DAC_FLAG_DMAUDR2, DAC_HandleTypeDef::ErrorCode, HAL_DAC_DMAUnderrunCallbackCh1(), HAL_DAC_ERROR_DMAUNDERRUNCH1, HAL_DAC_ERROR_DMAUNDERRUNCH2, HAL_DAC_STATE_ERROR, HAL_DACEx_DMAUnderrunCallbackCh2(), DAC_HandleTypeDef::Instance, and DAC_HandleTypeDef::State.