| Nano103 BSP V3.01.002 The Board Support Package for Nano103 Series

Macros
ACMP Exported Constants
NANO103 Device Driver » ACMP Driver

## 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...

## Detailed Description

## Macro Definition Documentation

## ◆ ACMP_HYSTERESIS_DISABLE

#define ACMP_HYSTERESIS_DISABLE

ACMP hysteresis disable.

Definition at line 33 of file acmp.h.

## ◆ ACMP_HYSTERESIS_ENABLE

#define ACMP_HYSTERESIS_ENABLE

ACMP hysteresis enable.

Definition at line 32 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD 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 AVDD as the source of ACMP V-.

Definition at line 43 of file acmp.h.

## ◆ ACMP_VNEG_AVSS

#define ACMP_VNEG_AVSS

Selecting AVSS pin as the source of ACMP V-.

Definition at line 37 of file acmp.h.

## ◆ ACMP_VNEG_IREF

#define ACMP_VNEG_IREF

Selecting Internal reference voltage as the source of ACMP V-.

Definition at line 36 of file acmp.h.

## ◆ ACMP_VNEG_PIN

#define ACMP_VNEG_PIN

Selecting the voltage of ACMP0_N pin as the source of ACMP V-.

Definition at line 35 of file acmp.h.