RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
COMP Private macros to get EXTI line associated with Comparators

Macros

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

Detailed Description

Macro Definition Documentation

◆ COMP_GET_EXTI_LINE

#define COMP_GET_EXTI_LINE (   __INSTANCE__)
Value:
(((__INSTANCE__) == COMP1) ? COMP_EXTI_LINE_COMP1 : \
#define COMP_EXTI_LINE_COMP1
Definition: stm32h7xx_hal_comp.h:783
#define COMP_EXTI_LINE_COMP2
Definition: stm32h7xx_hal_comp.h:784

Get the specified EXTI line for a comparator instance.

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