8.5 Port 5
8.5.1 Overview
Port 5 is an 8-bit I/O port, configured as shown in figure 8-4.
Figure 8-4 Port 5 Pin Configuration
8.5.2 Register Configuration and Description
Table 8-11 shows the port 5 register configuration.
Table 8-11 Port 5 Registers
Name
Abbrev.
R/W
Initial Value
Address
Port data register 5
PDR5
R/W
H'00
H'FFD8
Port control register 5
PCR5
W
H'00
H'FFE8
Port pull-up control register 5
PUCR5
R/W
H'00
H'FFE2
Port mode register 5
PMR5
R/W
H'00
H'FFCC
P5
7
/WKP
7
/SEG
8
P5
6
/WKP
6
/SEG
7
P5
5
/WKP
5
/SEG
6
P5
4
/WKP
4
/SEG
5
P5
3
/WKP
3
/SEG
4
P5
2
/WKP
2
/SEG
3
P5
1
/WKP
1
/SEG
2
P5
0
/WKP
0
/SEG
1
Port 5
151