◆ IS_COMP_HYST_NEG
Check if COMP reference source is invalid.
- Parameters
-
__INPUT__ | COMP hysteresis. |
Definition at line 273 of file hal_comp.h.
◆ IS_COMP_HYST_POS
Check if COMP reference source is valid.
- Parameters
-
__INPUT__ | COMP hysteresis. |
- Return values
-
SET | (__INPUT__ is valid) or RESET (__INPUT__ is invalid) |
Definition at line 266 of file hal_comp.h.
◆ IS_COMP_INPUT
#define IS_COMP_INPUT |
( |
|
__INPUT__ | ) |
|
Value:
Check if COMP input source is valid.
- Parameters
-
__INPUT__ | COMP input source. |
- Return values
-
SET | (__INPUT__ is valid) or RESET (__INPUT__ is invalid) |
Definition at line 234 of file hal_comp.h.
◆ IS_COMP_REF
#define IS_COMP_REF |
( |
|
__INPUT__ | ) |
|
Value:
Check if COMP reference source is valid.
- Parameters
-
__INPUT__ | COMP reference source. |
- Return values
-
SET | (__INPUT__ is valid) or RESET (__INPUT__ is invalid) |
Definition at line 250 of file hal_comp.h.
◆ IS_COMP_RES_DEGENERATION_NEG
Check if COMP reference source is invalid.
- Parameters
-
__INPUT__ | COMP res degeneration. |
Definition at line 287 of file hal_comp.h.
◆ IS_COMP_RES_DEGENERATION_POS
Check if COMP reference source is valid.
- Parameters
-
__INPUT__ | COMP res degeneration. |
- Return values
-
SET | (__INPUT__ is valid) or RESET (__INPUT__ is invalid) |
Definition at line 280 of file hal_comp.h.
#define COMP_INPUT_SRC_VREF
#define COMP_INPUT_SRC_IO6
#define COMP_REF_SRC_VBAT
#define COMP_INPUT_SRC_IO4
#define COMP_INPUT_SRC_IO7
#define COMP_INPUT_SRC_IO5
#define COMP_INPUT_SRC_VBAT
#define COMP_REF_SRC_VREF
#define COMP_INPUT_SRC_IO0
#define COMP_INPUT_SRC_IO1
#define COMP_INPUT_SRC_IO3
#define COMP_INPUT_SRC_IO2