ATA6603-EK Atmel, ATA6603-EK Datasheet - Page 262

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.3
4.20.3.1
262
ATA6602/ATA6603
Analog Comparator Multiplexed Input
Digital Input Disable Register 1 – DIDR1
Table 4-95.
When changing the ACIS1/ACIS0 bits, the Analog Comparator Interrupt must be disabled by
clearing its Interrupt Enable bit in the ACSR Register. Otherwise an interrupt can occur when the
bits are changed.
It is possible to select any of the ADC7..0 pins to replace the negative input to the Analog Com-
parator. The ADC multiplexer is used to select this input, and consequently, the ADC must be
switched off to utilize this feature. If the Analog Comparator Multiplexer Enable bit (ACME in
ADCSRB) is set and the ADC is switched off (ADEN in ADCSRA is zero), MUX2..0 in ADMUX
select the input pin to replace the negative input to the Analog Comparator, as shown in
4-96. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input to the Analog
Comparator.
Table 4-96.
• Bit 7..2 – Res: Reserved Bits
• Bit 1, 0 – AIN1D, AIN0D: AIN1, AIN0 Digital Input Disable
Initial Value
Read/Write
ACME
ACIS1
These bits are unused bits in the ATA6602/ATA6603, and will always read as zero.
When this bit is written logic one, the digital input buffer on the AIN1/0 pin is disabled. The
corresponding PIN Register bit will always read as zero when this bit is set. When an analog
signal is applied to the AIN1/0 pin and the digital input from this pin is not needed, this bit
should be written logic one to reduce power consumption in the digital input buffer.
Bit
0
1
1
1
1
1
1
1
1
1
0
0
1
1
ACIS1/ACIS0 Settings
Analog Comparator Multiplexed Input
ADEN
R
7
0
ACIS0
1
0
0
0
0
0
0
0
0
x
0
1
0
1
R
6
0
Interrupt Mode
Comparator Interrupt on Output Toggle.
Reserved
Comparator Interrupt on Falling Output Edge.
Comparator Interrupt on Rising Output Edge.
MUX2..0
000
001
010
011
100
101
110
111
xxx
xxx
R
5
0
Analog Comparator Negative Input
AIN1
AIN1
ADC0
ADC1
ADC2
ADC3
ADC4
ADC5
ADC6
ADC7
R
4
0
R
3
0
R
2
0
AIN1D
R/W
1
0
AIN0D
R/W
0
0
4921E–AUTO–09/09
DIDR1
Table

Related parts for ATA6603-EK