15.1.3 Input Pins
Table 15-1 lists the input pins used by the A/D converter module.
The eight analog input pins are divided into two groups, consisting of analog inputs 0 to 3 (AN0 to
AN3) and analog inputs 4 to 7 (AN4 to AN7), respectively.
Table 15-1 A/D Input Pins
Name Abbreviation I/O Function
Analog supply AV
CC Input Power supply and reference voltage for the
voltage analog circuits.
Analog ground AV
SS Input Ground and reference voltage for the analog circuits.
Analog input 0 AN
0 Input Analog input pins, group 0
Analog input 1 AN
1 Input
Analog input 2 AN
2 Input
Analog input 3 AN
3 Input
Analog input 4 AN
4 Input Analog input pins, group 1
Analog input 5 AN
5 Input
Analog input 6 AN
6 Input
Analog input 7 AN
7 Input
15.1.4 Register Configuration
Table 15-2 lists the registers of the A/D converter module.
Table 15-2 A/D Registers
Name Abbreviation R/W Initial Value Address
A/D data register A (High) ADDRA (H) R H'00 H'FFE0
A/D data register A (Low) ADDRA (L) R H'00 H'FFE1
A/D data register B (High) ADDRB (H) R H'00 H'FFE2
A/D data register B (Low) ADDRB (L) R H'00 H'FFE3
A/D data register C (High) ADDRC (H) R H'00 H'FFE4
A/D data register C (Low) ADDRC (L) R H'00 H'FFE5
A/D data register D (High) ADDRD (H) R H'00 H'FFE6
A/D data register D (Low) ADDRD (L) R H'00 H'FFE7
A/D control/status register ADCSR R/(W)* H'00 H'FFE8
* Software can write “0” to clear the status flag bits but cannot write 1.
275
Downloaded from Elcodis.com electronic components distributor