TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

Peripheral State and Errors 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 1106 of file stm32l4xx_hal_dac.c.

HAL_DAC_StateTypeDef HAL_DAC_GetState ( DAC_HandleTypeDef *  hdac )

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 1093 of file stm32l4xx_hal_dac.c.