| MINI51DE_BSP V3.02.004 The Board Support Package for Mini51DE Series MCU

Modules | Macros
ACMP Exported Constants
MINI51 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_HYSTERESIS_ENABLE
| Enable hysteresis function. More...
#define | ACMP_HYSTERESIS_DISABLE
| Disable hysteresis function. More...
#define | ACMP_CH0_POSPIN_P15
| Selecting P1.5 as ACMP Channel 0 positive input pin. More...
#define | ACMP_CH0_POSPIN_P10
| Selecting P1.0 as ACMP Channel 0 positive input pin. More...
#define | ACMP_CH0_POSPIN_P12
| Selecting P1.2 as ACMP Channel 0 positive input pin. More...
#define | ACMP_CH0_POSPIN_P13
| Selecting P1.3 as ACMP Channel 0 positive input pin. More...
#define | ACMP_CH1_POSPIN_P31
| Selecting P3.1 as ACMP Channel 1 positive input pin. More...
#define | ACMP_CH1_POSPIN_P32
| Selecting P3.2 as ACMP Channel 1 positive input pin. More...
#define | ACMP_CH1_POSPIN_P34
| Selecting P3.4 as ACMP Channel 1 positive input pin. More...
#define | ACMP_CH1_POSPIN_P35
| Selecting P3.5 as ACMP Channel 1 positive input pin. More...

## Detailed Description

## Macro Definition Documentation

## ◆ ACMP_CH0_POSPIN_P10

#define ACMP_CH0_POSPIN_P10

Selecting P1.0 as ACMP Channel 0 positive input pin.

Definition at line 57 of file acmp.h.

## ◆ ACMP_CH0_POSPIN_P12

#define ACMP_CH0_POSPIN_P12

Selecting P1.2 as ACMP Channel 0 positive input pin.

Definition at line 58 of file acmp.h.

## ◆ ACMP_CH0_POSPIN_P13

#define ACMP_CH0_POSPIN_P13

Selecting P1.3 as ACMP Channel 0 positive input pin.

Definition at line 59 of file acmp.h.

## ◆ ACMP_CH0_POSPIN_P15

#define ACMP_CH0_POSPIN_P15

Selecting P1.5 as ACMP Channel 0 positive input pin.

Definition at line 56 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P31

#define ACMP_CH1_POSPIN_P31

Selecting P3.1 as ACMP Channel 1 positive input pin.

Definition at line 60 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P32

#define ACMP_CH1_POSPIN_P32

Selecting P3.2 as ACMP Channel 1 positive input pin.

Definition at line 61 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P34

#define ACMP_CH1_POSPIN_P34

Selecting P3.4 as ACMP Channel 1 positive input pin.

Definition at line 62 of file acmp.h.

## ◆ ACMP_CH1_POSPIN_P35

#define ACMP_CH1_POSPIN_P35

Selecting P3.5 as ACMP Channel 1 positive input pin.

Definition at line 63 of file acmp.h.

## ◆ ACMP_HYSTERESIS_DISABLE

#define ACMP_HYSTERESIS_DISABLE

Disable hysteresis function.

Definition at line 55 of file acmp.h.

## ◆ ACMP_HYSTERESIS_ENABLE

#define ACMP_HYSTERESIS_ENABLE

Enable hysteresis function.

Definition at line 54 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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.