STM32H735xx 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. | |
HAL_StatusTypeDef | HAL_COMP_Start_IT (COMP_HandleTypeDef *hcomp) |
Enable the interrupt and start the comparator. | |
HAL_StatusTypeDef | HAL_COMP_Stop_IT (COMP_HandleTypeDef *hcomp) |
Disable the interrupt and 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 without interrupt. (+) Stop a Comparator instance without interrupt. (+) Start a Comparator instance with interrupt generation. (+) Stop a Comparator instance with interrupt generation.
void HAL_COMP_IRQHandler | ( | COMP_HandleTypeDef * | hcomp | ) |
Comparator IRQ Handler.
hcomp | COMP handle |
HAL | status |
Definition at line 924 of file stm32h7xx_hal_comp.c.
References __HAL_COMP_CLEAR_C1IFLAG, __HAL_COMP_CLEAR_C2IFLAG, __HAL_COMP_DISABLE_IT, __HAL_COMP_GET_FLAG, __HAL_COMP_GET_IT_SOURCE, CM7_CPUID, COMP_EXTI_LINE_COMP1, COMP_EXTI_LINE_COMP2, COMP_FLAG_C1I, COMP_FLAG_C2I, COMP_GET_EXTI_LINE, COMP_IT_EN, HAL_COMP_STATE_READY, HAL_COMP_TriggerCallback(), HAL_GetCurrentCPUID(), __COMP_HandleTypeDef::Instance, __COMP_HandleTypeDef::State, and __COMP_HandleTypeDef::TriggerCallback.
HAL_StatusTypeDef HAL_COMP_Start | ( | COMP_HandleTypeDef * | hcomp | ) |
Start the comparator.
hcomp | COMP handle |
HAL | status |
Definition at line 750 of file stm32h7xx_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_Start_IT | ( | COMP_HandleTypeDef * | hcomp | ) |
Enable the interrupt and start the comparator.
hcomp | COMP handle |
HAL | status |
Definition at line 846 of file stm32h7xx_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 803 of file stm32h7xx_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.
Referenced by HAL_COMP_Stop_IT().
HAL_StatusTypeDef HAL_COMP_Stop_IT | ( | COMP_HandleTypeDef * | hcomp | ) |
Disable the interrupt and Stop the comparator.
hcomp | COMP handle |
HAL | status |
Definition at line 901 of file stm32h7xx_hal_comp.c.
References COMP_GET_EXTI_LINE, HAL_COMP_Stop(), and __COMP_HandleTypeDef::Instance.