STM32L486xx HAL User Manual
Defines
COMP private macros to get EXTI line associated with comparators
COMP Private Macros

Defines

#define COMP_GET_EXTI_LINE(__INSTANCE__)
 Get the specified EXTI line for a comparator instance.

Define Documentation

#define COMP_GET_EXTI_LINE (   __INSTANCE__)
Value:
(((__INSTANCE__) == COMP1) ? COMP_EXTI_LINE_COMP1 \
                                            : COMP_EXTI_LINE_COMP2)

Get the specified EXTI line for a comparator instance.

Parameters:
__INSTANCE__specifies the COMP instance.
Return values:
valueof COMP EXTI Lines

Definition at line 582 of file stm32l4xx_hal_comp.h.

Referenced by HAL_COMP_Init(), and HAL_COMP_IRQHandler().