|
STM32L4xx_HAL_Driver
1.14.0
|
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. More... | |
| HAL_StatusTypeDef | HAL_DAC_DeInit (DAC_HandleTypeDef *hdac) |
| Deinitialize the DAC peripheral registers to their default reset values. More... | |
| void | HAL_DAC_MspInit (DAC_HandleTypeDef *hdac) |
| Initialize the DAC MSP. More... | |
| void | HAL_DAC_MspDeInit (DAC_HandleTypeDef *hdac) |
| DeInitialize the DAC MSP. More... | |
| HAL_StatusTypeDef | HAL_DAC_RegisterCallback (DAC_HandleTypeDef *hdac, HAL_DAC_CallbackIDTypeDef CallbackID, pDAC_CallbackTypeDef pCallback) |
| Register a User DAC Callback To be used instead of the weak (surcharged) predefined callback. More... | |
| HAL_StatusTypeDef | HAL_DAC_UnRegisterCallback (DAC_HandleTypeDef *hdac, HAL_DAC_CallbackIDTypeDef CallbackID) |
| Unregister a User DAC Callback DAC Callback is redirected to the weak (surcharged) predefined callback. More... | |
Initialization and Configuration functions.
==============================================================================
##### Initialization and de-initialization functions #####
==============================================================================
[..] This section provides functions allowing to:
(+) Initialize and configure the DAC.
(+) De-initialize the DAC. | HAL_StatusTypeDef HAL_DAC_DeInit | ( | DAC_HandleTypeDef * | hdac | ) |
Deinitialize the DAC peripheral registers to their default reset values.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| HAL | status |
Definition at line 438 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.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| HAL | status |
Definition at line 377 of file stm32l4xx_hal_dac.c.
| __weak void HAL_DAC_MspDeInit | ( | DAC_HandleTypeDef * | hdac | ) |
DeInitialize the DAC MSP.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| None |
Definition at line 499 of file stm32l4xx_hal_dac.c.
| __weak void HAL_DAC_MspInit | ( | DAC_HandleTypeDef * | hdac | ) |
Initialize the DAC MSP.
| hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
| None |
Definition at line 483 of file stm32l4xx_hal_dac.c.
| HAL_StatusTypeDef HAL_DAC_RegisterCallback | ( | DAC_HandleTypeDef * | hdac, |
| HAL_DAC_CallbackIDTypeDef | CallbackID, | ||
| pDAC_CallbackTypeDef | pCallback | ||
| ) |
Register a User DAC Callback To be used instead of the weak (surcharged) predefined callback.
| hdac | DAC handle |
| CallbackID | ID of the callback to be registered This parameter can be one of the following values:
|
| pCallback | pointer to the Callback function |
| status |
Definition at line 1457 of file stm32l4xx_hal_dac.c.
| HAL_StatusTypeDef HAL_DAC_UnRegisterCallback | ( | DAC_HandleTypeDef * | hdac, |
| HAL_DAC_CallbackIDTypeDef | CallbackID | ||
| ) |
Unregister a User DAC Callback DAC Callback is redirected to the weak (surcharged) predefined callback.
| hdac | DAC handle |
| CallbackID | ID of the callback to be unregistered This parameter can be one of the following values:
|
| status |
Definition at line 1564 of file stm32l4xx_hal_dac.c.