◆ IS_COMP_INPUT
#define IS_COMP_INPUT |
( |
|
__INPUT__ | ) |
|
Value:
Check if COMP input source is valid.
- Parameters
-
<strong>INPUT</strong> | COMP input source. |
- Return values
-
SET | (INPUT is valid) or RESET (INPUT is invalid) |
Definition at line 205 of file gr55xx_hal_comp.h.
◆ IS_COMP_REF
#define IS_COMP_REF |
( |
|
__INPUT__ | ) |
|
Value:
Check if COMP reference source is valid.
- Parameters
-
<strong>INPUT</strong> | COMP reference source. |
- Return values
-
SET | (INPUT is valid) or RESET (INPUT is invalid) |
Definition at line 216 of file gr55xx_hal_comp.h.
#define COMP_REF_SRC_VBAT
Set VBATT as references for the comparator
#define COMP_INPUT_SRC_IO4
Set MSIO_4 as inputs for the comparator.
#define COMP_REF_SRC_IO1
Set MSIO_1 as references for the comparator.
#define COMP_REF_SRC_IO3
Set MSIO_3 as references for the comparator.
#define COMP_REF_SRC_IO0
Set MSIO_0 as references for the comparator.
#define COMP_REF_SRC_IO2
Set MSIO_2 as references for the comparator.
#define COMP_REF_SRC_VREF
Set VREF as references for the comparator
#define COMP_INPUT_SRC_IO0
Set MSIO_0 as inputs for the comparator.
#define COMP_INPUT_SRC_IO1
Set MSIO_1 as inputs for the comparator.
#define COMP_REF_SRC_IO4
Set MSIO_4 as references for the comparator.
#define COMP_INPUT_SRC_IO3
Set MSIO_3 as inputs for the comparator.
#define COMP_INPUT_SRC_IO2
Set MSIO_2 as inputs for the comparator.