M480 BSP V3.05.005
The Board Support Package for M480 Series
Modules | Macros
ACMP Exported Constants

Modules

 ACMP Exported Functions
 

Macros

#define ACMP_CTL_FILTSEL_OFF
 
#define ACMP_CTL_FILTSEL_1PCLK
 
#define ACMP_CTL_FILTSEL_2PCLK
 
#define ACMP_CTL_FILTSEL_4PCLK
 
#define ACMP_CTL_FILTSEL_8PCLK
 
#define ACMP_CTL_FILTSEL_16PCLK
 
#define ACMP_CTL_FILTSEL_32PCLK
 
#define ACMP_CTL_FILTSEL_64PCLK
 
#define ACMP_CTL_INTPOL_RF
 
#define ACMP_CTL_INTPOL_R
 
#define ACMP_CTL_INTPOL_F
 
#define ACMP_CTL_POSSEL_P0
 
#define ACMP_CTL_POSSEL_P1
 
#define ACMP_CTL_POSSEL_P2
 
#define ACMP_CTL_POSSEL_P3
 
#define ACMP_CTL_NEGSEL_PIN
 
#define ACMP_CTL_NEGSEL_CRV
 
#define ACMP_CTL_NEGSEL_VBG
 
#define ACMP_CTL_NEGSEL_DAC
 
#define ACMP_CTL_HYSTERESIS_30MV
 
#define ACMP_CTL_HYSTERESIS_20MV
 
#define ACMP_CTL_HYSTERESIS_10MV
 
#define ACMP_CTL_HYSTERESIS_DISABLE
 
#define ACMP_VREF_CRVSSEL_VDDA
 
#define ACMP_VREF_CRVSSEL_INTVREF
 

Detailed Description

Macro Definition Documentation

◆ ACMP_CTL_FILTSEL_16PCLK

#define ACMP_CTL_FILTSEL_16PCLK

ACMP_CTL setting for 16 PCLK filter count.

Definition at line 43 of file acmp.h.

◆ ACMP_CTL_FILTSEL_1PCLK

#define ACMP_CTL_FILTSEL_1PCLK

ACMP_CTL setting for 1 PCLK filter count.

Definition at line 39 of file acmp.h.

◆ ACMP_CTL_FILTSEL_2PCLK

#define ACMP_CTL_FILTSEL_2PCLK

ACMP_CTL setting for 2 PCLK filter count.

Definition at line 40 of file acmp.h.

◆ ACMP_CTL_FILTSEL_32PCLK

#define ACMP_CTL_FILTSEL_32PCLK

ACMP_CTL setting for 32 PCLK filter count.

Definition at line 44 of file acmp.h.

◆ ACMP_CTL_FILTSEL_4PCLK

#define ACMP_CTL_FILTSEL_4PCLK

ACMP_CTL setting for 4 PCLK filter count.

Definition at line 41 of file acmp.h.

◆ ACMP_CTL_FILTSEL_64PCLK

#define ACMP_CTL_FILTSEL_64PCLK

ACMP_CTL setting for 64 PCLK filter count.

Definition at line 45 of file acmp.h.

◆ ACMP_CTL_FILTSEL_8PCLK

#define ACMP_CTL_FILTSEL_8PCLK

ACMP_CTL setting for 8 PCLK filter count.

Definition at line 42 of file acmp.h.

◆ ACMP_CTL_FILTSEL_OFF

#define ACMP_CTL_FILTSEL_OFF

ACMP_CTL setting for filter function disabled.

Definition at line 38 of file acmp.h.

◆ ACMP_CTL_HYSTERESIS_10MV

#define ACMP_CTL_HYSTERESIS_10MV

ACMP_CTL setting for enabling the hysteresis function at 10mV.

Definition at line 59 of file acmp.h.

◆ ACMP_CTL_HYSTERESIS_20MV

#define ACMP_CTL_HYSTERESIS_20MV

ACMP_CTL setting for enabling the hysteresis function at 20mV.

Definition at line 58 of file acmp.h.

◆ ACMP_CTL_HYSTERESIS_30MV

#define ACMP_CTL_HYSTERESIS_30MV

ACMP_CTL setting for enabling the hysteresis function at 30mV.

Definition at line 57 of file acmp.h.

◆ ACMP_CTL_HYSTERESIS_DISABLE

#define ACMP_CTL_HYSTERESIS_DISABLE

ACMP_CTL setting for disabling the hysteresis function.

Definition at line 60 of file acmp.h.

◆ ACMP_CTL_INTPOL_F

#define ACMP_CTL_INTPOL_F

ACMP_CTL setting for selecting falling edge as interrupt condition.

Definition at line 48 of file acmp.h.

◆ ACMP_CTL_INTPOL_R

#define ACMP_CTL_INTPOL_R

ACMP_CTL setting for selecting rising edge as interrupt condition.

Definition at line 47 of file acmp.h.

◆ ACMP_CTL_INTPOL_RF

#define ACMP_CTL_INTPOL_RF

ACMP_CTL setting for selecting rising edge and falling edge as interrupt condition.

Definition at line 46 of file acmp.h.

◆ ACMP_CTL_NEGSEL_CRV

#define ACMP_CTL_NEGSEL_CRV

ACMP_CTL setting for selecting internal comparator reference voltage as the source of ACMP V-.

Definition at line 54 of file acmp.h.

◆ ACMP_CTL_NEGSEL_DAC

#define ACMP_CTL_NEGSEL_DAC

ACMP_CTL setting for selecting DAC output voltage as the source of ACMP V-.

Definition at line 56 of file acmp.h.

◆ ACMP_CTL_NEGSEL_PIN

#define ACMP_CTL_NEGSEL_PIN

ACMP_CTL setting for selecting the voltage of ACMP negative input pin as the source of ACMP V-.

Definition at line 53 of file acmp.h.

◆ ACMP_CTL_NEGSEL_VBG

#define ACMP_CTL_NEGSEL_VBG

ACMP_CTL setting for selecting internal Band-gap voltage as the source of ACMP V-.

Definition at line 55 of file acmp.h.

◆ ACMP_CTL_POSSEL_P0

#define ACMP_CTL_POSSEL_P0

ACMP_CTL setting for selecting ACMPx_P0 pin as the source of ACMP V+.

Definition at line 49 of file acmp.h.

◆ ACMP_CTL_POSSEL_P1

#define ACMP_CTL_POSSEL_P1

ACMP_CTL setting for selecting ACMPx_P1 pin as the source of ACMP V+.

Definition at line 50 of file acmp.h.

◆ ACMP_CTL_POSSEL_P2

#define ACMP_CTL_POSSEL_P2

ACMP_CTL setting for selecting ACMPx_P2 pin as the source of ACMP V+.

Definition at line 51 of file acmp.h.

◆ ACMP_CTL_POSSEL_P3

#define ACMP_CTL_POSSEL_P3

ACMP_CTL setting for selecting ACMPx_P3 pin as the source of ACMP V+.

Definition at line 52 of file acmp.h.

◆ ACMP_VREF_CRVSSEL_INTVREF

#define ACMP_VREF_CRVSSEL_INTVREF

ACMP_VREF setting for selecting internal reference voltage as the CRV source voltage

Definition at line 66 of file acmp.h.

◆ ACMP_VREF_CRVSSEL_VDDA

#define ACMP_VREF_CRVSSEL_VDDA

ACMP_VREF setting for selecting analog supply voltage VDDA as the CRV source voltage

Definition at line 65 of file acmp.h.