Datasheet
Section 9 I/O Ports 
    Rev.5.00 Nov. 02, 2005 Page 123 of 500 
   REJ09B0027-0500 
9.4.1  Port Mode Register 5 (PMR5) 
PMR5 switches the functions of pins in port 5. 
Bit Bit Name 
Initial 
Value R/W Description 
7 
6 
POF57 
POF56 
0 
0 
R/W 
R/W 
When the bit is set to 1, the corresponding pin is cut off 
by PMOS and it functions as the NMOS open-drain 
output. When cleared to 0, the pin functions as the CMOS 
output. 
5  WKP5  0  R/W  This bit selects the function of pin P55/WKP5/ADTRG. 
0: General I/O port 
1: WKP5/ADTRG input pin 
4  WKP4  0  R/W  This bit selects the function of pin P54/WKP4. 
0: General I/O port 
1: WKP4 input pin 
3  WKP3  0  R/W  This bit selects the function of pin P53/WKP3. 
0: General I/O port 
1: WKP3 input pin 
2  WKP2  0  R/W  This bit selects the function of pin P52/WKP2. 
0: General I/O port 
1: WKP2 input pin 
1  WKP1  0  R/W  This bit selects the function of pin P51/WKP1. 
0: General I/O port 
1: WKP1 input pin 
0  WKP0  0  R/W  This bit selects the function of pin P50/WKP0. 
0: General I/O port 
1: WKP0 input pin 










