STM32L443xx HAL User Manual
Defines
COMP input plus (non-inverting input)
COMP Exported Constants

Defines

#define COMP_INPUT_PLUS_IO1   (0x00000000UL)
#define COMP_INPUT_PLUS_IO2   (COMP_CSR_INPSEL_0)
#define COMP_INPUT_PLUS_IO3   (COMP_CSR_INPSEL_1)

Define Documentation

#define COMP_INPUT_PLUS_IO1   (0x00000000UL)

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

Definition at line 183 of file stm32l4xx_hal_comp.h.

#define 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 184 of file stm32l4xx_hal_comp.h.

#define 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 186 of file stm32l4xx_hal_comp.h.