STM32L443xx HAL User Manual
Defines
COMP external interrupt line management
COMP Exported Macros

Defines

#define __HAL_COMP_COMP1_EXTI_ENABLE_RISING_EDGE()   LL_EXTI_EnableRisingTrig_0_31(COMP_EXTI_LINE_COMP1)
 Enable the COMP1 EXTI line rising edge trigger.
#define __HAL_COMP_COMP1_EXTI_DISABLE_RISING_EDGE()   LL_EXTI_DisableRisingTrig_0_31(COMP_EXTI_LINE_COMP1)
 Disable the COMP1 EXTI line rising edge trigger.
#define __HAL_COMP_COMP1_EXTI_ENABLE_FALLING_EDGE()   LL_EXTI_EnableFallingTrig_0_31(COMP_EXTI_LINE_COMP1)
 Enable the COMP1 EXTI line falling edge trigger.
#define __HAL_COMP_COMP1_EXTI_DISABLE_FALLING_EDGE()   LL_EXTI_DisableFallingTrig_0_31(COMP_EXTI_LINE_COMP1)
 Disable the COMP1 EXTI line falling edge trigger.
#define __HAL_COMP_COMP1_EXTI_ENABLE_RISING_FALLING_EDGE()
 Enable the COMP1 EXTI line rising & falling edge trigger.
#define __HAL_COMP_COMP1_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the COMP1 EXTI line rising & falling edge trigger.
#define __HAL_COMP_COMP1_EXTI_ENABLE_IT()   LL_EXTI_EnableIT_0_31(COMP_EXTI_LINE_COMP1)
 Enable the COMP1 EXTI line in interrupt mode.
#define __HAL_COMP_COMP1_EXTI_DISABLE_IT()   LL_EXTI_DisableIT_0_31(COMP_EXTI_LINE_COMP1)
 Disable the COMP1 EXTI line in interrupt mode.
#define __HAL_COMP_COMP1_EXTI_GENERATE_SWIT()   LL_EXTI_GenerateSWI_0_31(COMP_EXTI_LINE_COMP1)
 Generate a software interrupt on the COMP1 EXTI line.
#define __HAL_COMP_COMP1_EXTI_ENABLE_EVENT()   LL_EXTI_EnableEvent_0_31(COMP_EXTI_LINE_COMP1)
 Enable the COMP1 EXTI line in event mode.
#define __HAL_COMP_COMP1_EXTI_DISABLE_EVENT()   LL_EXTI_DisableEvent_0_31(COMP_EXTI_LINE_COMP1)
 Disable the COMP1 EXTI line in event mode.
#define __HAL_COMP_COMP1_EXTI_GET_FLAG()   LL_EXTI_IsActiveFlag_0_31(COMP_EXTI_LINE_COMP1)
 Check whether the COMP1 EXTI line flag is set.
#define __HAL_COMP_COMP1_EXTI_CLEAR_FLAG()   LL_EXTI_ClearFlag_0_31(COMP_EXTI_LINE_COMP1)
 Clear the COMP1 EXTI flag.
#define __HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE()   LL_EXTI_EnableRisingTrig_0_31(COMP_EXTI_LINE_COMP2)
 Enable the COMP2 EXTI line rising edge trigger.
#define __HAL_COMP_COMP2_EXTI_DISABLE_RISING_EDGE()   LL_EXTI_DisableRisingTrig_0_31(COMP_EXTI_LINE_COMP2)
 Disable the COMP2 EXTI line rising edge trigger.
#define __HAL_COMP_COMP2_EXTI_ENABLE_FALLING_EDGE()   LL_EXTI_EnableFallingTrig_0_31(COMP_EXTI_LINE_COMP2)
 Enable the COMP2 EXTI line falling edge trigger.
#define __HAL_COMP_COMP2_EXTI_DISABLE_FALLING_EDGE()   LL_EXTI_DisableFallingTrig_0_31(COMP_EXTI_LINE_COMP2)
 Disable the COMP2 EXTI line falling edge trigger.
#define __HAL_COMP_COMP2_EXTI_ENABLE_RISING_FALLING_EDGE()
 Enable the COMP2 EXTI line rising & falling edge trigger.
#define __HAL_COMP_COMP2_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the COMP2 EXTI line rising & falling edge trigger.
#define __HAL_COMP_COMP2_EXTI_ENABLE_IT()   LL_EXTI_EnableIT_0_31(COMP_EXTI_LINE_COMP2)
 Enable the COMP2 EXTI line in interrupt mode.
#define __HAL_COMP_COMP2_EXTI_DISABLE_IT()   LL_EXTI_DisableIT_0_31(COMP_EXTI_LINE_COMP2)
 Disable the COMP2 EXTI line in interrupt mode.
#define __HAL_COMP_COMP2_EXTI_GENERATE_SWIT()   LL_EXTI_GenerateSWI_0_31(COMP_EXTI_LINE_COMP2)
 Generate a software interrupt on the COMP2 EXTI line.
#define __HAL_COMP_COMP2_EXTI_ENABLE_EVENT()   LL_EXTI_EnableEvent_0_31(COMP_EXTI_LINE_COMP2)
 Enable the COMP2 EXTI line in event mode.
#define __HAL_COMP_COMP2_EXTI_DISABLE_EVENT()   LL_EXTI_DisableEvent_0_31(COMP_EXTI_LINE_COMP2)
 Disable the COMP2 EXTI line in event mode.
#define __HAL_COMP_COMP2_EXTI_GET_FLAG()   LL_EXTI_IsActiveFlag_0_31(COMP_EXTI_LINE_COMP2)
 Check whether the COMP2 EXTI line flag is set.
#define __HAL_COMP_COMP2_EXTI_CLEAR_FLAG()   LL_EXTI_ClearFlag_0_31(COMP_EXTI_LINE_COMP2)
 Clear the COMP2 EXTI flag.

Define Documentation

Clear the COMP1 EXTI flag.

Return values:
None

Definition at line 435 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line in event mode.

Return values:
None

Definition at line 423 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line falling edge trigger.

Return values:
None

Definition at line 375 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line in interrupt mode.

Return values:
None

Definition at line 405 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line rising edge trigger.

Return values:
None

Definition at line 363 of file stm32l4xx_hal_comp.h.

Value:
do { \
                                                               LL_EXTI_DisableRisingTrig_0_31(COMP_EXTI_LINE_COMP1); \
                                                               LL_EXTI_DisableFallingTrig_0_31(COMP_EXTI_LINE_COMP1); \
                                                             } while(0)

Disable the COMP1 EXTI line rising & falling edge trigger.

Return values:
None

Definition at line 390 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line in event mode.

Return values:
None

Definition at line 417 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line falling edge trigger.

Return values:
None

Definition at line 369 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line in interrupt mode.

Return values:
None

Definition at line 399 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line rising edge trigger.

Return values:
None

Definition at line 357 of file stm32l4xx_hal_comp.h.

Value:
do { \
                                                               LL_EXTI_EnableRisingTrig_0_31(COMP_EXTI_LINE_COMP1); \
                                                               LL_EXTI_EnableFallingTrig_0_31(COMP_EXTI_LINE_COMP1); \
                                                             } while(0)

Enable the COMP1 EXTI line rising & falling edge trigger.

Return values:
None

Definition at line 381 of file stm32l4xx_hal_comp.h.

Generate a software interrupt on the COMP1 EXTI line.

Return values:
None

Definition at line 411 of file stm32l4xx_hal_comp.h.

Check whether the COMP1 EXTI line flag is set.

Return values:
RESETor SET

Definition at line 429 of file stm32l4xx_hal_comp.h.

Clear the COMP2 EXTI flag.

Return values:
None

Definition at line 520 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line in event mode.

Return values:
None

Definition at line 508 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line falling edge trigger.

Return values:
None

Definition at line 460 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line in interrupt mode.

Return values:
None

Definition at line 490 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line rising edge trigger.

Return values:
None

Definition at line 448 of file stm32l4xx_hal_comp.h.

Value:
do { \
                                                               LL_EXTI_DisableRisingTrig_0_31(COMP_EXTI_LINE_COMP2); \
                                                               LL_EXTI_DisableFallingTrig_0_31(COMP_EXTI_LINE_COMP2); \
                                                             } while(0)

Disable the COMP2 EXTI line rising & falling edge trigger.

Return values:
None

Definition at line 475 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line in event mode.

Return values:
None

Definition at line 502 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line falling edge trigger.

Return values:
None

Definition at line 454 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line in interrupt mode.

Return values:
None

Definition at line 484 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line rising edge trigger.

Return values:
None

Definition at line 442 of file stm32l4xx_hal_comp.h.

Value:
do { \
                                                               LL_EXTI_EnableRisingTrig_0_31(COMP_EXTI_LINE_COMP2); \
                                                               LL_EXTI_EnableFallingTrig_0_31(COMP_EXTI_LINE_COMP2); \
                                                             } while(0)

Enable the COMP2 EXTI line rising & falling edge trigger.

Return values:
None

Definition at line 466 of file stm32l4xx_hal_comp.h.

Generate a software interrupt on the COMP2 EXTI line.

Return values:
None

Definition at line 496 of file stm32l4xx_hal_comp.h.

Check whether the COMP2 EXTI line flag is set.

Return values:
RESETor SET

Definition at line 514 of file stm32l4xx_hal_comp.h.