STM32L486xx 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 444 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line in event mode.

Return values:
None

Definition at line 432 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line falling edge trigger.

Return values:
None

Definition at line 384 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line in interrupt mode.

Return values:
None

Definition at line 414 of file stm32l4xx_hal_comp.h.

Disable the COMP1 EXTI line rising edge trigger.

Return values:
None

Definition at line 372 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 399 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line in event mode.

Return values:
None

Definition at line 426 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line falling edge trigger.

Return values:
None

Definition at line 378 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line in interrupt mode.

Return values:
None

Definition at line 408 of file stm32l4xx_hal_comp.h.

Enable the COMP1 EXTI line rising edge trigger.

Return values:
None

Definition at line 366 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 390 of file stm32l4xx_hal_comp.h.

Generate a software interrupt on the COMP1 EXTI line.

Return values:
None

Definition at line 420 of file stm32l4xx_hal_comp.h.

Check whether the COMP1 EXTI line flag is set.

Return values:
RESETor SET

Definition at line 438 of file stm32l4xx_hal_comp.h.

Clear the COMP2 EXTI flag.

Return values:
None

Definition at line 528 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line in event mode.

Return values:
None

Definition at line 516 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line falling edge trigger.

Return values:
None

Definition at line 468 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line in interrupt mode.

Return values:
None

Definition at line 498 of file stm32l4xx_hal_comp.h.

Disable the COMP2 EXTI line rising edge trigger.

Return values:
None

Definition at line 456 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 483 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line in event mode.

Return values:
None

Definition at line 510 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line falling edge trigger.

Return values:
None

Definition at line 462 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line in interrupt mode.

Return values:
None

Definition at line 492 of file stm32l4xx_hal_comp.h.

Enable the COMP2 EXTI line rising edge trigger.

Return values:
None

Definition at line 450 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 474 of file stm32l4xx_hal_comp.h.

Generate a software interrupt on the COMP2 EXTI line.

Return values:
None

Definition at line 504 of file stm32l4xx_hal_comp.h.

Check whether the COMP2 EXTI line flag is set.

Return values:
RESETor SET

Definition at line 522 of file stm32l4xx_hal_comp.h.