![]() |
NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
|
NANO103 series Analog Comparator(ACMP) driver header file. More...
Go to the source code of this file.
Macros | |
#define | ACMP_HYSTERESIS_ENABLE |
ACMP hysteresis enable. More... | |
#define | ACMP_HYSTERESIS_DISABLE |
ACMP hysteresis disable. More... | |
#define | ACMP_VNEG_PIN |
Selecting the voltage of ACMP0_N pin as the source of ACMP V-. More... | |
#define | ACMP_VNEG_IREF |
Selecting Internal reference voltage as the source of ACMP V-. More... | |
#define | ACMP_VNEG_AVSS |
Selecting AVSS pin as the source of ACMP V-. More... | |
#define | ACMP_VNEG_4_OVER_24_VDD |
Selecting 4/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_5_OVER_24_VDD |
Selecting 5/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_6_OVER_24_VDD |
Selecting 6/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_7_OVER_24_VDD |
Selecting 7/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_8_OVER_24_VDD |
Selecting 8/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_9_OVER_24_VDD |
Selecting 9/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_10_OVER_24_VDD |
Selecting 10/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_11_OVER_24_VDD |
Selecting 11/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_12_OVER_24_VDD |
Selecting 12/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_13_OVER_24_VDD |
Selecting 13/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_14_OVER_24_VDD |
Selecting 14/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_15_OVER_24_VDD |
Selecting 15/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_16_OVER_24_VDD |
Selecting 16/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_17_OVER_24_VDD |
Selecting 17/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_18_OVER_24_VDD |
Selecting 18/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_19_OVER_24_VDD |
Selecting 19/24 AVDD as the source of ACMP V-. More... | |
#define | ACMP_VNEG_4_OVER_24_IREF |
Selecting 4/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_5_OVER_24_IREF |
Selecting 5/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_6_OVER_24_IREF |
Selecting 6/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_7_OVER_24_IREF |
Selecting 7/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_8_OVER_24_IREF |
Selecting 8/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_9_OVER_24_IREF |
Selecting 9/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_10_OVER_24_IREF |
Selecting 10/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_11_OVER_24_IREF |
Selecting 11/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_12_OVER_24_IREF |
Selecting 12/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_13_OVER_24_IREF |
Selecting 13/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_14_OVER_24_IREF |
Selecting 14/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_15_OVER_24_IREF |
Selecting 15/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_16_OVER_24_IREF |
Selecting 16/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_17_OVER_24_IREF |
Selecting 17/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_18_OVER_24_IREF |
Selecting 18/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_VNEG_19_OVER_24_IREF |
Selecting 19/24 IREF as the source of ACMP V-. More... | |
#define | ACMP_SET_NEG_SRC(acmp, u32ChNum, u32Src) |
This macro is used to enable output inverse. More... | |
#define | ACMP_ENABLE_HYSTERESIS(acmp, u32ChNum) |
This macro is used to enable hysteresis. More... | |
#define | ACMP_DISABLE_HYSTERESIS(acmp, u32ChNum) |
This macro is used to disable hysteresis. More... | |
#define | ACMP_ENABLE_INT(acmp, u32ChNum) |
This macro is used to enable interrupt. More... | |
#define | ACMP_DISABLE_INT(acmp, u32ChNum) |
This macro is used to disable interrupt. More... | |
#define | ACMP_ENABLE(acmp, u32ChNum) |
This macro is used to enable ACMP. More... | |
#define | ACMP_DISABLE(acmp, u32ChNum) |
This macro is used to disable ACMP. More... | |
#define | ACMP_GET_OUTPUT(acmp, u32ChNum) |
This macro is used to get ACMP output value. More... | |
#define | ACMP_GET_INT_FLAG(acmp, u32ChNum) |
This macro is used to get ACMP interrupt flag. More... | |
#define | ACMP_CLR_INT_FLAG(acmp, u32ChNum) |
This macro is used to clear ACMP interrupt flag. More... | |
#define | ACMP_ENABLE_WAKEUP(acmp, u32ChNum) |
This macro is used to enable ACMP wake-up. More... | |
#define | ACMP_DISABLE_WAKEUP(acmp, u32ChNum) |
This macro is used to disable ACMP wake-up. More... | |
#define | ACMP_CRV_SEL(u32Level) |
This macro is used to enable ACMP wake-up. More... | |
#define | ACMP_ENABLE_CRV(acmp) |
This macro is used to enable CRV(comparator reference voltage) More... | |
#define | ACMP_DISABLE_CRV(acmp) |
This macro is used to disable CRV(comparator reference voltage) More... | |
Functions | |
void | ACMP_Open (ACMP_T *acmp, uint32_t u32ChNum, uint32_t u32NegSrc, uint32_t u32HysteresisEn) |
This function open and configure comparator parameters. More... | |
void | ACMP_Close (ACMP_T *acmp, uint32_t u32ChNum) |
This function close comparator. More... | |
NANO103 series Analog Comparator(ACMP) driver header file.
Definition in file acmp.h.