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 (AN
0
to
AN
3
) and analog inputs 4 to 7 (AN
4
to AN
7
), respectively.
Table 15-1 A/D Input Pins
Name
Analog supply
voltage
Analog ground
Analog input 0
Analog input 1
Analog input 2
Analog input 3
Analog input 4
Analog input 5
Analog input 6
Analog input 7
A/D external
trigger input
Abbreviation
AV
CC
I/O
Input
Function
Power supply and reference voltage for the
analog circuits.
Ground and reference voltage for the analog circuits.
Analog input pins, group 0
AV
SS
AN
0
AN
1
AN
2
AN
3
AN
4
AN
5
AN
6
AN
7
ADTRG
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
Analog input pins, group 1
External trigger 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
A/D data register A (High)
A/D data register A (Low)
A/D data register B (High)
A/D data register B (Low)
A/D data register C (High)
A/D data register C (Low)
A/D data register D (High)
A/D data register D (Low)
A/D control/status register
A/D control register
*
Software can write 0 to clear the status flag bits but cannot write 1.
Abbreviation
ADDRA (H)
ADDRA (L)
ADDRB (H)
ADDRB (L)
ADDRC (H)
ADDRC (L)
ADDRD (H)
ADDRD (L)
ADCSR
ADCR
R/W
R
R
R
R
R
R
R
R
R/(W)
*
H'00
R/W
Initial Value
H'00
H'00
H'00
H'00
H'00
H'00
H'00
H'00
Address
H'FEE0
H'FEE1
H'FEE2
H'FEE3
H'FEE4
H'FEE5
H'FEE6
H'FEE7
H'FEE8
H'FEE9
H'7F
285