COMPARATORs Defines Configuration Values
[AMP1 Defines Configuration Values]

Collaboration diagram for COMPARATORs Defines Configuration Values:


Detailed Description

Defines allowing to init the COMPARATORs with the wanted configuration.


Defines

#define COMPARATOR0_IT   1
 0: Disable Comparator Interrupt 1: Enable Comparator Interrupt
#define COMPARATOR0_IT_EVENT   0
 Comparator Interrupt on outut => 0: toggle 2: falling edge 3: rising edge.
#define COMPARATOR0_NEGATIVE_INPUT   3
 Comparator negative input selection => 0: vref/6.40 1: vref/3.20 2: vref/2.13 3: vref/1.60 4: ACMPM 5: DAC result.
#define COMPARATOR1_IT   1
 0: Disable Comparator Interrupt 1: Enable Comparator Interrupt
#define COMPARATOR1_IT_EVENT   0
 Comparator Interrupt on outut => 0: toggle 2: falling edge 3: rising edge.
#define COMPARATOR1_NEGATIVE_INPUT   3
 Comparator negative input selection => 0: vref/6.40 1: vref/3.20 2: vref/2.13 3: vref/1.60 4: ACMPM 5: DAC result.
#define COMPARATOR2_IT   1
 0: Disable Comparator Interrupt 1: Enable Comparator Interrupt
#define COMPARATOR2_IT_EVENT   0
 Comparator Interrupt on outut => 0: toggle 2: falling edge 3: rising edge.
#define COMPARATOR2_NEGATIVE_INPUT   3
 Comparator negative input selection => 0: vref/6.40 1: vref/3.20 2: vref/2.13 3: vref/1.60 4: ACMPM 5: DAC result.
#define USE_COMP0
#define USE_COMP1
#define USE_COMP2


Define Documentation

#define COMPARATOR0_IT   1

0: Disable Comparator Interrupt 1: Enable Comparator Interrupt

Definition at line 78 of file config.h.

#define COMPARATOR0_IT_EVENT   0

Comparator Interrupt on outut => 0: toggle 2: falling edge 3: rising edge.

Definition at line 79 of file config.h.

#define COMPARATOR0_NEGATIVE_INPUT   3

Comparator negative input selection => 0: vref/6.40 1: vref/3.20 2: vref/2.13 3: vref/1.60 4: ACMPM 5: DAC result.

Definition at line 83 of file config.h.

#define COMPARATOR1_IT   1

0: Disable Comparator Interrupt 1: Enable Comparator Interrupt

Definition at line 87 of file config.h.

#define COMPARATOR1_IT_EVENT   0

Comparator Interrupt on outut => 0: toggle 2: falling edge 3: rising edge.

Definition at line 88 of file config.h.

#define COMPARATOR1_NEGATIVE_INPUT   3

Comparator negative input selection => 0: vref/6.40 1: vref/3.20 2: vref/2.13 3: vref/1.60 4: ACMPM 5: DAC result.

Definition at line 92 of file config.h.

#define COMPARATOR2_IT   1

0: Disable Comparator Interrupt 1: Enable Comparator Interrupt

Definition at line 96 of file config.h.

#define COMPARATOR2_IT_EVENT   0

Comparator Interrupt on outut => 0: toggle 2: falling edge 3: rising edge.

Definition at line 97 of file config.h.

#define COMPARATOR2_NEGATIVE_INPUT   3

Comparator negative input selection => 0: vref/6.40 1: vref/3.20 2: vref/2.13 3: vref/1.60 4: ACMPM 5: DAC result.

Definition at line 101 of file config.h.

#define USE_COMP0

Definition at line 77 of file config.h.

#define USE_COMP1

Definition at line 86 of file config.h.

#define USE_COMP2

Definition at line 95 of file config.h.


Generated on Wed Jul 12 16:55:28 2006 for Atmel BLDC Sensorless on ATAVRMC100 by  doxygen 1.4.7