Peripheral State functions.
More...
Peripheral State functions.
===============================================================================
##### Peripheral State functions #####
===============================================================================
[..]
This subsection permit to get in run-time the status of the peripheral.
◆ HAL_COMP_GetError()
Return the COMP error code.
- Parameters
-
- Return values
-
Definition at line 1024 of file stm32l4xx_hal_comp.c.
1029 return hcomp->ErrorCode;
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))
◆ HAL_COMP_GetState()
Return the COMP handle state.
- Parameters
-
- Return values
-
Definition at line 1004 of file stm32l4xx_hal_comp.c.
1016 return hcomp->State;
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))