STM32L443xx HAL User Manual
|
Defines | |
#define | COMP_INPUT_MINUS_1_4VREFINT ( COMP_CSR_SCALEN | COMP_CSR_BRGEN) |
#define | COMP_INPUT_MINUS_1_2VREFINT ( COMP_CSR_INMSEL_0 | COMP_CSR_SCALEN | COMP_CSR_BRGEN) |
#define | COMP_INPUT_MINUS_3_4VREFINT ( COMP_CSR_INMSEL_1 | COMP_CSR_SCALEN | COMP_CSR_BRGEN) |
#define | COMP_INPUT_MINUS_VREFINT ( COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0 | COMP_CSR_SCALEN ) |
#define | COMP_INPUT_MINUS_DAC1_CH1 (COMP_CSR_INMSEL_2 ) |
#define | COMP_INPUT_MINUS_DAC1_CH2 (COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_0) |
#define | COMP_INPUT_MINUS_IO1 (COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 ) |
#define | COMP_INPUT_MINUS_IO2 (COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
#define | COMP_INPUT_MINUS_IO3 ( COMP_CSR_INMESEL_0 | COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
#define | COMP_INPUT_MINUS_IO4 (COMP_CSR_INMESEL_1 | COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
#define | COMP_INPUT_MINUS_IO5 (COMP_CSR_INMESEL_1 | COMP_CSR_INMESEL_0 | COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
#define COMP_INPUT_MINUS_1_2VREFINT ( COMP_CSR_INMSEL_0 | COMP_CSR_SCALEN | COMP_CSR_BRGEN) |
Comparator input minus connected to 1/2 VrefInt
Definition at line 196 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_1_4VREFINT ( COMP_CSR_SCALEN | COMP_CSR_BRGEN) |
Comparator input minus connected to 1/4 VrefInt
Definition at line 195 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_3_4VREFINT ( COMP_CSR_INMSEL_1 | COMP_CSR_SCALEN | COMP_CSR_BRGEN) |
Comparator input minus connected to 3/4 VrefInt
Definition at line 197 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_DAC1_CH1 (COMP_CSR_INMSEL_2 ) |
Comparator input minus connected to DAC1 channel 1 (DAC_OUT1)
Definition at line 199 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_DAC1_CH2 (COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_0) |
Comparator input minus connected to DAC1 channel 2 (DAC_OUT2)
Definition at line 201 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_IO1 (COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 ) |
Comparator input minus connected to IO1 (pin PB1 for COMP1, pin PB3 for COMP2)
Definition at line 203 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_IO2 (COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
Comparator input minus connected to IO2 (pin PC4 for COMP1, pin PB7 for COMP2)
Definition at line 204 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_IO3 ( COMP_CSR_INMESEL_0 | COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
Comparator input minus connected to IO3 (pin PA0 for COMP1, pin PA2 for COMP2)
Definition at line 206 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_IO4 (COMP_CSR_INMESEL_1 | COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
Comparator input minus connected to IO4 (pin PA4 for COMP1, pin PA4 for COMP2)
Definition at line 207 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_IO5 (COMP_CSR_INMESEL_1 | COMP_CSR_INMESEL_0 | COMP_CSR_INMSEL_2 | COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0) |
Comparator input minus connected to IO5 (pin PA5 for COMP1, pin PA5 for COMP2)
Definition at line 208 of file stm32l4xx_hal_comp.h.
#define COMP_INPUT_MINUS_VREFINT ( COMP_CSR_INMSEL_1 | COMP_CSR_INMSEL_0 | COMP_CSR_SCALEN ) |
Comparator input minus connected to VrefInt
Definition at line 198 of file stm32l4xx_hal_comp.h.