STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Peripheral State and Errors functions

Peripheral State and Errors functions. More...

Collaboration diagram for Peripheral State and Errors functions:

Functions

HAL_DAC_StateTypeDef HAL_DAC_GetState (const DAC_HandleTypeDef *hdac)
 return the DAC handle state
 
uint32_t HAL_DAC_GetError (const 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

◆ HAL_DAC_GetState()

HAL_DAC_StateTypeDef HAL_DAC_GetState ( const DAC_HandleTypeDef * hdac)

#include <stm32f4xx_hal_dac.h>

return the DAC handle state

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

Definition at line 1034 of file stm32f4xx_hal_dac.c.

References DAC_HandleTypeDef::State.

◆ HAL_DAC_GetError()

uint32_t HAL_DAC_GetError ( const DAC_HandleTypeDef * hdac)

#include <stm32f4xx_hal_dac.h>

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 1047 of file stm32f4xx_hal_dac.c.

References DAC_HandleTypeDef::ErrorCode.