CHAPTER 5 PORT FUNCTIONS
User’s Manual U15109EJ3V0UD
160
5.2.6
Port 6
Port 6 is a 6-bit I/O port for which I/O settings can be controlled in 1-bit units.
After reset:
00H
R/W
Address: FFFFF00CH
7
6
5
4
3
2
1
0
P6
0
0
P65
P64
P63
P62
P61
P60
P6n
Control of output data (in output mode) (n = 0 to 5)
0
Outputs 0
1
Outputs 1
Remark
In input mode: When P6 is read, the pin levels at that time are read. Writing to P6 writes the values
to that port. This does not affect the input pins.
In output mode: When P6 is read, the values of P6 are read. Writing to P6 writes the values to that
port, and those values are immediately output.
Port 6 includes the following alternate functions.
Table 5-7. Port 6 Alternate Function Pins
Pin Name
Alternate Function
I/O
PULL
Note
Remark
P60
A16
P61
A17
P62
A18
P63
A19
P64
A20
Port 6
P65
A21
I/O
No
−
Note
Software pull-up function