STM32L486xx HAL User Manual
Defines
Comparator output - Output polarity
COMP Exported Constants

Defines

#define LL_COMP_OUTPUTPOL_NONINVERTED   (0x00000000U)
#define LL_COMP_OUTPUTPOL_INVERTED   (COMP_CSR_POLARITY)

Define Documentation

#define LL_COMP_OUTPUTPOL_INVERTED   (COMP_CSR_POLARITY)

COMP output polarity is inverted: comparator output is low when the plus (non-inverting) input is at a lower voltage than the minus (inverting) input

Definition at line 219 of file stm32l4xx_ll_comp.h.

#define LL_COMP_OUTPUTPOL_NONINVERTED   (0x00000000U)

COMP output polarity is not inverted: comparator output is high when the plus (non-inverting) input is at a higher voltage than the minus (inverting) input

Definition at line 218 of file stm32l4xx_ll_comp.h.

Referenced by LL_COMP_StructInit().