STM32L486xx 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 handle state
uint32_t HAL_DAC_GetError (DAC_HandleTypeDef *hdac)
 Return the DAC error code.

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

uint32_t HAL_DAC_GetError ( DAC_HandleTypeDef hdac)

Return the DAC error code.

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

Definition at line 1630 of file stm32l4xx_hal_dac.c.

References __DAC_HandleTypeDef::ErrorCode.

return the DAC handle state

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

Definition at line 1617 of file stm32l4xx_hal_dac.c.

References __DAC_HandleTypeDef::State.