English
Language : 

MEGA128CAN Datasheet, PDF (282/413 Pages) ATMEL Corporation – Microcontroller WITH 128K BYTES OF ISP FLASH AND CAN CONTROLLER
• Bits 2:0 – ADPS2:0: ADC Prescaler Select Bits
These bits determine the division factor between the XTAL frequency and the input
clock to the ADC.
Table 103. ADC Prescaler Selections
ADPS2
ADPS1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
ADPS0
0
1
0
1
0
1
0
1
Division Factor
2
2
4
8
16
32
64
128
The ADC Data Register –
ADCL and ADCH
ADLAR = 0
Bit
Bit
Read/Write
Initial Value
15
–
ADC7
7
R
R
0
0
14
–
ADC6
6
R
R
0
0
13
–
ADC5
5
R
R
0
0
12
–
ADC4
4
R
R
0
0
11
–
ADC3
3
R
R
0
0
10
–
ADC2
2
R
R
0
0
9
ADC9
ADC1
1
R
R
0
0
8
ADC8
ADC0
0
R
R
0
0
ADCH
ADCL
ADLAR = 1
Bit
Bit
Read/Write
Initial Value
15
ADC9
ADC1
7
R
R
0
0
14
ADC8
ADC0
6
R
R
0
0
13
ADC7
–
5
R
R
0
0
12
ADC6
–
4
R
R
0
0
11
ADC5
–
3
R
R
0
0
10
ADC4
–
2
R
R
0
0
9
ADC3
–
1
R
R
0
0
8
ADC2
–
0
R
R
0
0
ADCH
ADCL
When an ADC conversion is complete, the result is found in these two registers. If differ-
ential channels are used, the result is presented in two’s complement form.
When ADCL is read, the ADC Data Register is not updated until ADCH is read. Conse-
quently, if the result is left adjusted and no more than 8-bit precision (7 bit + sign bit for
differential input channels) is required, it is sufficient to read ADCH. Otherwise, ADCL
must be read first, then ADCH.
The ADLAR bit in ADMUX, and the MUXn bits in ADMUX affect the way the result is
read from the registers. If ADLAR is set, the result is left adjusted. If ADLAR is cleared
(default), the result is right adjusted.
282 AT90CAN128
4250E–CAN–12/04