STM32L443xx HAL User Manual
|
Start-Stop operation functions. More...
Functions | |
HAL_StatusTypeDef | HAL_COMP_Start (COMP_HandleTypeDef *hcomp) |
Start the comparator. | |
HAL_StatusTypeDef | HAL_COMP_Stop (COMP_HandleTypeDef *hcomp) |
Stop the comparator. | |
void | HAL_COMP_IRQHandler (COMP_HandleTypeDef *hcomp) |
Comparator IRQ handler. |
Start-Stop operation functions.
=============================================================================== ##### IO operation functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Start a comparator instance. (+) Stop a comparator instance.
void HAL_COMP_IRQHandler | ( | COMP_HandleTypeDef * | hcomp | ) |
Comparator IRQ handler.
hcomp | COMP handle |
None |
Definition at line 829 of file stm32l4xx_hal_comp.c.
References COMP_EXTI_LINE_COMP1, COMP_EXTI_LINE_COMP2, COMP_GET_EXTI_LINE, HAL_COMP_TriggerCallback(), __COMP_HandleTypeDef::Instance, LL_EXTI_ClearFlag_0_31(), LL_EXTI_IsActiveFlag_0_31(), and __COMP_HandleTypeDef::TriggerCallback.
HAL_StatusTypeDef HAL_COMP_Start | ( | COMP_HandleTypeDef * | hcomp | ) |
Start the comparator.
hcomp | COMP handle |
HAL | status |
Definition at line 735 of file stm32l4xx_hal_comp.c.
References __HAL_COMP_IS_LOCKED, assert_param, COMP_DELAY_STARTUP_US, HAL_COMP_STATE_BUSY, HAL_COMP_STATE_READY, __COMP_HandleTypeDef::Instance, and __COMP_HandleTypeDef::State.
HAL_StatusTypeDef HAL_COMP_Stop | ( | COMP_HandleTypeDef * | hcomp | ) |
Stop the comparator.
hcomp | COMP handle |
HAL | status |
Definition at line 787 of file stm32l4xx_hal_comp.c.
References __HAL_COMP_IS_LOCKED, assert_param, HAL_COMP_STATE_READY, HAL_COMP_STATE_RESET, __COMP_HandleTypeDef::Instance, and __COMP_HandleTypeDef::State.