Fujitsu MB89202 Computer Hardware User Manual


 
271
CHAPTER 12 A/D CONVERTER
12.4.4 A/D Enable Register (ADEN)
The ADEN register is used to select the analog input port that corresponds to different
pins. Writing "1" to an appropriate ADEN register bit enables analog input.
A/D Enable Register (ADEN)
Figure 12.4-5 shows the bit configuration of the A/D enable register.
Figure 12.4-5 A/D Enable Register (ADEN)
An A/D input port can be used as a general-purpose I/O port.
The ADEN register is used to select the port that corresponds to the analog input.
Set "1" to the corresponding bit in the ADEN register for the port to be used for analog input. This prevents
the DC pass when the middle level voltage is applied to the A/D input port.
When this register is to be used as the A/D input port, do not select the bit that indicates use of a pull-up
resistor from the pull-up setting register.
0
1
bit7 bit6 bit5 bit4 bit3bit2 bit1 bit0
0034
H
ADE7 ADE6 ADE5 ADE4
ADE3 ADE2 ADE1
ADE0
00000000
B
R/W R/W R/W R/W R/W R/W R/W R/W
R/W : Readable/Writable
: Initial value
Address
Initial value
ADE7 to ADE0 A/D input bits
Port input
Analog input