STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Peripheral State and Errors functions. More...
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. | |
Peripheral State and Errors functions.
============================================================================== ##### Peripheral State and Errors functions ##### ============================================================================== [..] This subsection provides functions allowing to (+) Check the DAC state. (+) Check the DAC Errors.
HAL_DAC_StateTypeDef HAL_DAC_GetState | ( | const DAC_HandleTypeDef * | hdac | ) |
#include <stm32f4xx_hal_dac.h>
return the DAC handle state
hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
HAL | state |
Definition at line 1034 of file stm32f4xx_hal_dac.c.
References DAC_HandleTypeDef::State.
uint32_t HAL_DAC_GetError | ( | const DAC_HandleTypeDef * | hdac | ) |
#include <stm32f4xx_hal_dac.h>
Return the DAC error code.
hdac | pointer to a DAC_HandleTypeDef structure that contains the configuration information for the specified DAC. |
DAC | Error Code |
Definition at line 1047 of file stm32f4xx_hal_dac.c.
References DAC_HandleTypeDef::ErrorCode.