ATA6603-EK Atmel, ATA6603-EK Datasheet - Page 260

no-image

ATA6603-EK

Manufacturer Part Number
ATA6603-EK
Description
MCU, MPU & DSP Development Tools Demoboard LIN-MCM
Manufacturer
Atmel
Datasheet

Specifications of ATA6603-EK

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
4.20
4.20.1
260
Analog Comparator
ATA6602/ATA6603
ADC Control and Status Register B – ADCSRB
The Analog Comparator compares the input values on the positive pin AIN0 and negative pin
AIN1. When the voltage on the positive pin AIN0 is higher than the voltage on the negative pin
AIN1, the Analog Comparator output, ACO, is set. The comparator’s output can be set to trigger
the Timer/Counter1 Input Capture function. In addition, the comparator can trigger a separate
interrupt, exclusive to the Analog Comparator. The user can select Interrupt triggering on com-
parator output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is
shown in
The Power Reduction ADC bit, PRADC, in
be disabled by writing a logical zero to be able to use the ADC input MUX.
Figure 4-99. Analog Comparator Block Diagram
Notes:
• Bit 6 – ACME: Analog Comparator Multiplexer Enable
Read/Write
Initial Value
When this bit is written logic one and the ADC is switched off (ADEN in ADCSRA is zero),
the ADC multiplexer selects the negative input to the Analog Comparator. When this bit is
written logic zero, AIN1 is applied to the negative input of the Analog Comparator. For a
detailed description of this bit (see
ADC MULTIPLEXER
Bit
REFERENCE
ACME
ADEN
1. See
2. Refer to
OUTPUT
BANDGAP
Figure
AIN0
AIN1
(1)
Table 4-96 on page
4-99.
ACBG
R
7
0
Table 4-38 on page 102
ACME
R/W
6
0
ACD
262.
R
5
0
VCC
“Analog Comparator Multiplexed Input” on page
for Analog Comparator pin placement.
“Power Reduction Register - PRR” on page 64
R
4
0
(2)
ACIS1
R
3
0
INTERRUPT
SELECT
ACIS0
ADTS2
R/W
2
0
ACIC
ACIE
ACO
ADTS1
R/W
1
0
ADTS0
R/W
TO T/C1 CAPTURE
TRIGGER MUX
0
0
ANALOG
COMPARATOR
IRQ
ACI
4921E–AUTO–09/09
ADCSRB
262).
must

Related parts for ATA6603-EK