| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Modules | Macros
ACMP Exported Constants
NUC472/NUC442 Device Driver » ACMP Driver
Collaboration diagram for ACMP Exported Constants:

## Modules
| ACMP Exported Functions

## Macros
#define | ACMP_VNEG_PIN
| Selecting the voltage of ACMP negative input pin as the source of ACMP V-. More...
#define | ACMP_VNEG_BANDGAP
| Selecting band-gap voltage as the source of ACMP V-. More...
#define | ACMP_VNEG_4_OVER_24_VDD
| Selecting 4/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_5_OVER_24_VDD
| Selecting 5/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_6_OVER_24_VDD
| Selecting 6/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_7_OVER_24_VDD
| Selecting 7/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_8_OVER_24_VDD
| Selecting 8/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_9_OVER_24_VDD
| Selecting 9/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_10_OVER_24_VDD
| Selecting 10/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_11_OVER_24_VDD
| Selecting 11/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_12_OVER_24_VDD
| Selecting 12/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_13_OVER_24_VDD
| Selecting 13/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_14_OVER_24_VDD
| Selecting 14/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_15_OVER_24_VDD
| Selecting 15/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_16_OVER_24_VDD
| Selecting 16/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_17_OVER_24_VDD
| Selecting 17/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_18_OVER_24_VDD
| Selecting 18/24 VDD as the source of ACMP V-. More...
#define | ACMP_VNEG_19_OVER_24_VDD
| Selecting 19/24 VDD 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_HYSTERESIS_ENABLE
| Enable hysteresis function. More...
#define | ACMP_HYSTERESIS_DISABLE
| Disable hysteresis function. More...
#define | ACMP_CH0_POSPIN_P0
| Selecting ACMP0_P0 as ACMP Channel 0 positive input source. More...
#define | ACMP_CH0_POSPIN_P1
| Selecting ACMP0_P1 as ACMP Channel 0 positive input source. More...
#define | ACMP_CH0_POSPIN_P2
| Selecting ACMP0_P2 as ACMP Channel 0 positive input source. More...
#define | ACMP_CH0_POSPIN_P3
| Selecting ACMP0_P3 as ACMP Channel 0 positive input source. More...
#define | ACMP_CH0_POS_OPA0
| Selecting OPA0 as ACMP Channel 0 positive input source. More...
#define | ACMP_CH1_POSPIN_P0
| Selecting ACMP1_P0 as ACMP Channel 1 positive input source. More...
#define | ACMP_CH1_POSPIN_P1
| Selecting ACMP1_P1 as ACMP Channel 1 positive input source. More...
#define | ACMP_CH1_POSPIN_P2
| Selecting ACMP1_P2 as ACMP Channel 1 positive input source. More...
#define | ACMP_CH1_POSPIN_P3
| Selecting ACMP1_P3 as ACMP Channel 1 positive input source. More...
#define | ACMP_CH1_POS_OPA1
| Selecting OPA1 as ACMP Channel 1 positive input source. More...
#define | ACMP_CH2_POSPIN_P0
| Selecting ACMP2_P0 as ACMP Channel 2 positive input source. More...
#define | ACMP_CH2_POSPIN_P1
| Selecting ACMP2_P1 as ACMP Channel 2 positive input source. More...
#define | ACMP_CH2_POSPIN_P2
| Selecting ACMP2_P2 as ACMP Channel 2 positive input source. More...
#define | ACMP_CH2_POSPIN_P3
| Selecting ACMP2_P3 as ACMP Channel 2 positive input source. More...

## Detailed Description

## Macro Definition Documentation

## ◆ ACMP_CH0_POS_OPA0

#define ACMP_CH0_POS_OPA0

Selecting OPA0 as ACMP Channel 0 positive input source.

Definition at line 76 of file acmp.h.

## ◆ ACMP_CH0_POSPIN_P0

#define ACMP_CH0_POSPIN_P0

Selecting ACMP0_P0 as ACMP Channel 0 positive input source.

Definition at line 72 of file acmp.h.

## ◆ ACMP_CH0_POSPIN_P1

#define ACMP_CH0_POSPIN_P1

Selecting ACMP0_P1 as ACMP Channel 0 positive input source.

Definition at line 73 of file acmp.h.

## ◆ ACMP_CH0_POSPIN_P2

#define ACMP_CH0_POSPIN_P2

Selecting ACMP0_P2 as ACMP Channel 0 positive input source.

Definition at line 74 of file acmp.h.

## ◆ ACMP_CH0_POSPIN_P3

#define ACMP_CH0_POSPIN_P3

Selecting ACMP0_P3 as ACMP Channel 0 positive input source.

Definition at line 75 of file acmp.h.

## ◆ ACMP_CH1_POS_OPA1

#define ACMP_CH1_POS_OPA1

Selecting OPA1 as ACMP Channel 1 positive input source.

Definition at line 81 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P0

#define ACMP_CH1_POSPIN_P0

Selecting ACMP1_P0 as ACMP Channel 1 positive input source.

Definition at line 77 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P1

#define ACMP_CH1_POSPIN_P1

Selecting ACMP1_P1 as ACMP Channel 1 positive input source.

Definition at line 78 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P2

#define ACMP_CH1_POSPIN_P2

Selecting ACMP1_P2 as ACMP Channel 1 positive input source.

Definition at line 79 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P3

#define ACMP_CH1_POSPIN_P3

Selecting ACMP1_P3 as ACMP Channel 1 positive input source.

Definition at line 80 of file acmp.h.

## ◆ ACMP_CH2_POSPIN_P0

#define ACMP_CH2_POSPIN_P0

Selecting ACMP2_P0 as ACMP Channel 2 positive input source.

Definition at line 82 of file acmp.h.

## ◆ ACMP_CH2_POSPIN_P1

#define ACMP_CH2_POSPIN_P1

Selecting ACMP2_P1 as ACMP Channel 2 positive input source.

Definition at line 83 of file acmp.h.

## ◆ ACMP_CH2_POSPIN_P2

#define ACMP_CH2_POSPIN_P2

Selecting ACMP2_P2 as ACMP Channel 2 positive input source.

Definition at line 84 of file acmp.h.

## ◆ ACMP_CH2_POSPIN_P3

#define ACMP_CH2_POSPIN_P3

Selecting ACMP2_P3 as ACMP Channel 2 positive input source.

Definition at line 85 of file acmp.h.

## ◆ ACMP_HYSTERESIS_DISABLE

#define ACMP_HYSTERESIS_DISABLE

Disable hysteresis function.

Definition at line 71 of file acmp.h.

## ◆ ACMP_HYSTERESIS_ENABLE

#define ACMP_HYSTERESIS_ENABLE

Enable hysteresis function.

Definition at line 70 of file acmp.h.

## ◆ ACMP_VNEG_10_OVER_24_IREF

#define ACMP_VNEG_10_OVER_24_IREF

Selecting 10/24 IREF as the source of ACMP V-.

Definition at line 60 of file acmp.h.

## ◆ ACMP_VNEG_10_OVER_24_VDD

#define ACMP_VNEG_10_OVER_24_VDD

Selecting 10/24 VDD as the source of ACMP V-.

Definition at line 44 of file acmp.h.

## ◆ ACMP_VNEG_11_OVER_24_IREF

#define ACMP_VNEG_11_OVER_24_IREF

Selecting 11/24 IREF as the source of ACMP V-.

Definition at line 61 of file acmp.h.

## ◆ ACMP_VNEG_11_OVER_24_VDD

#define ACMP_VNEG_11_OVER_24_VDD

Selecting 11/24 VDD as the source of ACMP V-.

Definition at line 45 of file acmp.h.

## ◆ ACMP_VNEG_12_OVER_24_IREF

#define ACMP_VNEG_12_OVER_24_IREF

Selecting 12/24 IREF as the source of ACMP V-.

Definition at line 62 of file acmp.h.

## ◆ ACMP_VNEG_12_OVER_24_VDD

#define ACMP_VNEG_12_OVER_24_VDD

Selecting 12/24 VDD as the source of ACMP V-.

Definition at line 46 of file acmp.h.

## ◆ ACMP_VNEG_13_OVER_24_IREF

#define ACMP_VNEG_13_OVER_24_IREF

Selecting 13/24 IREF as the source of ACMP V-.

Definition at line 63 of file acmp.h.

## ◆ ACMP_VNEG_13_OVER_24_VDD

#define ACMP_VNEG_13_OVER_24_VDD

Selecting 13/24 VDD as the source of ACMP V-.

Definition at line 47 of file acmp.h.

## ◆ ACMP_VNEG_14_OVER_24_IREF

#define ACMP_VNEG_14_OVER_24_IREF

Selecting 14/24 IREF as the source of ACMP V-.

Definition at line 64 of file acmp.h.

## ◆ ACMP_VNEG_14_OVER_24_VDD

#define ACMP_VNEG_14_OVER_24_VDD

Selecting 14/24 VDD as the source of ACMP V-.

Definition at line 48 of file acmp.h.

## ◆ ACMP_VNEG_15_OVER_24_IREF

#define ACMP_VNEG_15_OVER_24_IREF

Selecting 15/24 IREF as the source of ACMP V-.

Definition at line 65 of file acmp.h.

## ◆ ACMP_VNEG_15_OVER_24_VDD

#define ACMP_VNEG_15_OVER_24_VDD

Selecting 15/24 VDD as the source of ACMP V-.

Definition at line 49 of file acmp.h.

## ◆ ACMP_VNEG_16_OVER_24_IREF

#define ACMP_VNEG_16_OVER_24_IREF

Selecting 16/24 IREF as the source of ACMP V-.

Definition at line 66 of file acmp.h.

## ◆ ACMP_VNEG_16_OVER_24_VDD

#define ACMP_VNEG_16_OVER_24_VDD

Selecting 16/24 VDD as the source of ACMP V-.

Definition at line 50 of file acmp.h.

## ◆ ACMP_VNEG_17_OVER_24_IREF

#define ACMP_VNEG_17_OVER_24_IREF

Selecting 17/24 IREF as the source of ACMP V-.

Definition at line 67 of file acmp.h.

## ◆ ACMP_VNEG_17_OVER_24_VDD

#define ACMP_VNEG_17_OVER_24_VDD

Selecting 17/24 VDD as the source of ACMP V-.

Definition at line 51 of file acmp.h.

## ◆ ACMP_VNEG_18_OVER_24_IREF

#define ACMP_VNEG_18_OVER_24_IREF

Selecting 18/24 IREF as the source of ACMP V-.

Definition at line 68 of file acmp.h.

## ◆ ACMP_VNEG_18_OVER_24_VDD

#define ACMP_VNEG_18_OVER_24_VDD

Selecting 18/24 VDD as the source of ACMP V-.

Definition at line 52 of file acmp.h.

## ◆ ACMP_VNEG_19_OVER_24_IREF

#define ACMP_VNEG_19_OVER_24_IREF

Selecting 19/24 IREF as the source of ACMP V-.

Definition at line 69 of file acmp.h.

## ◆ ACMP_VNEG_19_OVER_24_VDD

#define ACMP_VNEG_19_OVER_24_VDD

Selecting 19/24 VDD as the source of ACMP V-.

Definition at line 53 of file acmp.h.

## ◆ ACMP_VNEG_4_OVER_24_IREF

#define ACMP_VNEG_4_OVER_24_IREF

Selecting 4/24 IREF as the source of ACMP V-.

Definition at line 54 of file acmp.h.

## ◆ ACMP_VNEG_4_OVER_24_VDD

#define ACMP_VNEG_4_OVER_24_VDD

Selecting 4/24 VDD as the source of ACMP V-.

Definition at line 38 of file acmp.h.

## ◆ ACMP_VNEG_5_OVER_24_IREF

#define ACMP_VNEG_5_OVER_24_IREF

Selecting 5/24 IREF as the source of ACMP V-.

Definition at line 55 of file acmp.h.

## ◆ ACMP_VNEG_5_OVER_24_VDD

#define ACMP_VNEG_5_OVER_24_VDD

Selecting 5/24 VDD as the source of ACMP V-.

Definition at line 39 of file acmp.h.

## ◆ ACMP_VNEG_6_OVER_24_IREF

#define ACMP_VNEG_6_OVER_24_IREF

Selecting 6/24 IREF as the source of ACMP V-.

Definition at line 56 of file acmp.h.

## ◆ ACMP_VNEG_6_OVER_24_VDD

#define ACMP_VNEG_6_OVER_24_VDD

Selecting 6/24 VDD as the source of ACMP V-.

Definition at line 40 of file acmp.h.

## ◆ ACMP_VNEG_7_OVER_24_IREF

#define ACMP_VNEG_7_OVER_24_IREF

Selecting 7/24 IREF as the source of ACMP V-.

Definition at line 57 of file acmp.h.

## ◆ ACMP_VNEG_7_OVER_24_VDD

#define ACMP_VNEG_7_OVER_24_VDD

Selecting 7/24 VDD as the source of ACMP V-.

Definition at line 41 of file acmp.h.

## ◆ ACMP_VNEG_8_OVER_24_IREF

#define ACMP_VNEG_8_OVER_24_IREF

Selecting 8/24 IREF as the source of ACMP V-.

Definition at line 58 of file acmp.h.

## ◆ ACMP_VNEG_8_OVER_24_VDD

#define ACMP_VNEG_8_OVER_24_VDD

Selecting 8/24 VDD as the source of ACMP V-.

Definition at line 42 of file acmp.h.

## ◆ ACMP_VNEG_9_OVER_24_IREF

#define ACMP_VNEG_9_OVER_24_IREF

Selecting 9/24 IREF as the source of ACMP V-.

Definition at line 59 of file acmp.h.

## ◆ ACMP_VNEG_9_OVER_24_VDD

#define ACMP_VNEG_9_OVER_24_VDD

Selecting 9/24 VDD as the source of ACMP V-.

Definition at line 43 of file acmp.h.

## ◆ ACMP_VNEG_BANDGAP

#define ACMP_VNEG_BANDGAP

Selecting band-gap voltage as the source of ACMP V-.

Definition at line 37 of file acmp.h.

## ◆ ACMP_VNEG_PIN

#define ACMP_VNEG_PIN

Selecting the voltage of ACMP negative input pin as the source of ACMP V-.

Definition at line 36 of file acmp.h.