STM32H735xx 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 794 of file stm32h7xx_hal_comp.h.

Referenced by HAL_COMP_Init(), HAL_COMP_IRQHandler(), and HAL_COMP_Stop_IT().