STM32L443xx HAL User Manual
Defines
Comparator inputs - Input plus (input non-inverting) selection
COMP Exported Constants

Defines

#define LL_COMP_INPUT_PLUS_IO1   (0x00000000UL)
#define LL_COMP_INPUT_PLUS_IO2   (COMP_CSR_INPSEL_0)
#define LL_COMP_INPUT_PLUS_IO3   (COMP_CSR_INPSEL_1)

Define Documentation

#define LL_COMP_INPUT_PLUS_IO1   (0x00000000UL)

Comparator input plus connected to IO1 (pin PC5 for COMP1, pin PB4 for COMP2)

Definition at line 140 of file stm32l4xx_ll_comp.h.

Referenced by LL_COMP_StructInit().

#define LL_COMP_INPUT_PLUS_IO2   (COMP_CSR_INPSEL_0)

Comparator input plus connected to IO2 (pin PB2 for COMP1, pin PB6 for COMP2)

Definition at line 141 of file stm32l4xx_ll_comp.h.

#define LL_COMP_INPUT_PLUS_IO3   (COMP_CSR_INPSEL_1)

Comparator input plus connected to IO3 (pin PA1 for COMP1, pin PA3 for COMP2)

Definition at line 143 of file stm32l4xx_ll_comp.h.