ATA6613 ATMEL Corporation, ATA6613 Datasheet - Page 262

no-image

ATA6613

Manufacturer Part Number
ATA6613
Description
Ata6613
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATA6613P
Quantity:
45
Part Number:
ATA6613P
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATA6613P-PLQW
Manufacturer:
ATMEL
Quantity:
5 000
Part Number:
ATA6613P-PLQW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
6.20
6.20.1
262
Analog Comparator
ATA6612/ATA6613
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 6-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 6-96 on page
6-99.
ACBG
R
7
0
Table 6-38 on page 104
ACME
R/W
6
0
ACD
264.
R
5
0
VCC
“Analog Comparator Multiplexed Input” on page
for Analog Comparator pin placement.
“Power Reduction Register - PRR” on page 66
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
9111C–AUTO–02/08
ADCSRB
264).
must

Related parts for ATA6613