STM32H735xx HAL User Manual
|
Peripheral State functions. More...
Functions | |
HAL_COMP_StateTypeDef | HAL_COMP_GetState (COMP_HandleTypeDef *hcomp) |
Return the COMP handle state. | |
uint32_t | HAL_COMP_GetError (COMP_HandleTypeDef *hcomp) |
Return the COMP error code. |
Peripheral State functions.
=============================================================================== ##### Peripheral State functions ##### =============================================================================== [..] This subsection permit to get in run-time the status of the peripheral.
uint32_t HAL_COMP_GetError | ( | COMP_HandleTypeDef * | hcomp | ) |
Return the COMP error code.
hcomp | COMP handle |
COMP | error code |
Definition at line 1224 of file stm32h7xx_hal_comp.c.
References assert_param, __COMP_HandleTypeDef::ErrorCode, and __COMP_HandleTypeDef::Instance.
Return the COMP handle state.
hcomp | COMP handle |
HAL | state |
Definition at line 1204 of file stm32h7xx_hal_comp.c.
References assert_param, HAL_COMP_STATE_RESET, __COMP_HandleTypeDef::Instance, and __COMP_HandleTypeDef::State.