8.2.5 Port P7 direction register
The A-D converter and port P7 use the same pins in common. When using these pins as the A-D converter's
input pins, set the corresponding bits of the port P7 direction register to "0" to set these ports for the input
mode. Figure 8.2.6 shows the relationship between the port P7 direction register and A-D converter's input
pins.
b7
b6
b5
b4
b3
b2
Fig. 8.2.6 Relationship between port P7 direction register and A-D converter's input pins
b1
b0
Port P7 direction register (Address 11
Bit
Corresponding pin
pin
AN
0
0
pin
AN
1
1
2
pin
AN
2
pin
AN
3
3
pin
4
AN
4
pin
5
AN
5
6
pin
AN
6
7
AN
/AD
7
TRG
7751 Group User's Manual
)
16
0 : Input mode
1 : Output mode
When using these pins as A-D
converter's input pins, set the
corresponding bits to "0."
pin
A-D CONVERTER
8.2 Block description
Functions
At reset
RW
0
RW
0
RW
0
RW
RW
0
RW
0
RW
0
RW
0
RW
0
8–9