STM32F439xx HAL User Manual
Functions
Initialization and de-initialization functions
DAC Exported Functions

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_DAC_Init (DAC_HandleTypeDef *hdac)
 Initializes the DAC peripheral according to the specified parameters in the DAC_InitStruct.
HAL_StatusTypeDef HAL_DAC_DeInit (DAC_HandleTypeDef *hdac)
 Deinitializes the DAC peripheral registers to their default reset values.
__weak void HAL_DAC_MspInit (DAC_HandleTypeDef *hdac)
 Initializes the DAC MSP.
__weak void HAL_DAC_MspDeInit (DAC_HandleTypeDef *hdac)
 DeInitializes the DAC MSP.

Detailed Description

Initialization and Configuration functions.

  ==============================================================================
              ##### Initialization and de-initialization functions #####
  ==============================================================================
    [..]  This section provides functions allowing to:
      (+) Initialize and configure the DAC. 
      (+) De-initialize the DAC. 
         

Function Documentation

HAL_StatusTypeDef HAL_DAC_DeInit ( DAC_HandleTypeDef hdac)

Deinitializes the DAC peripheral registers to their default reset values.

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

Definition at line 267 of file stm32f4xx_hal_dac.c.

References assert_param, DAC_HandleTypeDef::ErrorCode, HAL_DAC_ERROR_NONE, HAL_DAC_MspDeInit(), HAL_DAC_STATE_BUSY, HAL_DAC_STATE_RESET, DAC_HandleTypeDef::Instance, and DAC_HandleTypeDef::State.

HAL_StatusTypeDef HAL_DAC_Init ( DAC_HandleTypeDef hdac)

Initializes the DAC peripheral according to the specified parameters in the DAC_InitStruct.

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

Definition at line 230 of file stm32f4xx_hal_dac.c.

References assert_param, DAC_HandleTypeDef::ErrorCode, HAL_DAC_ERROR_NONE, HAL_DAC_MspInit(), HAL_DAC_STATE_BUSY, HAL_DAC_STATE_READY, HAL_DAC_STATE_RESET, DAC_HandleTypeDef::Instance, DAC_HandleTypeDef::Lock, and DAC_HandleTypeDef::State.

DeInitializes the DAC MSP.

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

Definition at line 318 of file stm32f4xx_hal_dac.c.

Referenced by HAL_DAC_DeInit().

Initializes the DAC MSP.

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

Definition at line 303 of file stm32f4xx_hal_dac.c.

Referenced by HAL_DAC_Init().