STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
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. | |
void | HAL_DAC_MspInit (DAC_HandleTypeDef *hdac) |
Initialize the DAC MSP. | |
void | HAL_DAC_MspDeInit (DAC_HandleTypeDef *hdac) |
DeInitialize the DAC MSP. | |
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_Init | ( | DAC_HandleTypeDef * | hdac | ) |
#include <stm32f4xx_hal_dac.h>
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 271 of file stm32f4xx_hal_dac.c.
References assert_param, DAC_HandleTypeDef::ErrorCode, HAL_DAC_ConvCpltCallbackCh1(), HAL_DAC_ConvHalfCpltCallbackCh1(), HAL_DAC_DMAUnderrunCallbackCh1(), HAL_DAC_ERROR_NONE, HAL_DAC_ErrorCallbackCh1(), HAL_DAC_MspInit(), HAL_DAC_STATE_BUSY, HAL_DAC_STATE_READY, HAL_DAC_STATE_RESET, HAL_ERROR, HAL_OK, HAL_UNLOCKED, DAC_HandleTypeDef::Instance, DAC_HandleTypeDef::Lock, and DAC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_DAC_DeInit | ( | DAC_HandleTypeDef * | hdac | ) |
#include <stm32f4xx_hal_dac.h>
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 332 of file stm32f4xx_hal_dac.c.
References __HAL_UNLOCK, assert_param, DAC_HandleTypeDef::ErrorCode, HAL_DAC_ERROR_NONE, HAL_DAC_MspDeInit(), HAL_DAC_STATE_BUSY, HAL_DAC_STATE_RESET, HAL_ERROR, HAL_OK, DAC_HandleTypeDef::Instance, and DAC_HandleTypeDef::State.
__weak void HAL_DAC_MspInit | ( | DAC_HandleTypeDef * | hdac | ) |
#include <stm32f4xx_hal_dac.h>
Initialize the DAC MSP.
hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
None |
Definition at line 377 of file stm32f4xx_hal_dac.c.
References UNUSED.
Referenced by HAL_DAC_Init().
__weak void HAL_DAC_MspDeInit | ( | DAC_HandleTypeDef * | hdac | ) |
#include <stm32f4xx_hal_dac.h>
DeInitialize the DAC MSP.
hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
None |
Definition at line 393 of file stm32f4xx_hal_dac.c.
References UNUSED.
Referenced by HAL_DAC_DeInit().