TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

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

Embed: (wiki syntax)

« Back to documentation index

Initialization and de-initialization functions

Initialization and de-initialization functions
[DAC Exported Functions]

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_DAC_Init (DAC_HandleTypeDef *hdac)
 Initialize the DAC peripheral according to the specified parameters in the DAC_InitStruct and initialize the associated handle.
HAL_StatusTypeDef HAL_DAC_DeInit (DAC_HandleTypeDef *hdac)
 Deinitialize the DAC peripheral registers to their default reset values.
__weak void HAL_DAC_MspInit (DAC_HandleTypeDef *hdac)
 Initialize the DAC MSP.
__weak void HAL_DAC_MspDeInit (DAC_HandleTypeDef *hdac)
 DeInitialize 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 )

Deinitialize the DAC peripheral registers to their default reset values.

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

Definition at line 364 of file stm32l4xx_hal_dac.c.

HAL_StatusTypeDef HAL_DAC_Init ( DAC_HandleTypeDef *  hdac )

Initialize the DAC peripheral according to the specified parameters in the DAC_InitStruct and initialize the associated handle.

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

Definition at line 326 of file stm32l4xx_hal_dac.c.

__weak void HAL_DAC_MspDeInit ( DAC_HandleTypeDef *  hdac )

DeInitialize the DAC MSP.

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

Definition at line 416 of file stm32l4xx_hal_dac.c.

__weak void HAL_DAC_MspInit ( DAC_HandleTypeDef *  hdac )

Initialize the DAC MSP.

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

Definition at line 400 of file stm32l4xx_hal_dac.c.