Datasheet
Section 9 I/O Ports 
Rev. 6.00 Mar. 24, 2006 Page 126 of 412 
REJ09B0142-0600   
Bit Bit Name 
Initial 
Value R/W Description 
0 WKP0 0  R/W P50/WKP0 Pin Function Switch 
Selects whether pin P50/WKP0 is used as P50 or as 
WKP0. 
0: General I/O port 
1: WKP0 input pin 
9.3.2  Port Control Register 5 (PCR5) 
PCR5 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 5. 
Bit Bit Name 
Initial 
Value R/W Description 
7 
6 
5 
4 
3 
2 
1 
0 
PCR57 
PCR56 
PCR55 
PCR54 
PCR53 
PCR52 
PCR51 
PCR50 
0 
0 
0 
0 
0 
0 
0 
0 
W 
W 
W 
W 
W 
W 
W 
W 
When each of the port 5 pins P57 to P50 functions as 
an general I/O port, setting a PCR5 bit to 1 makes the 
corresponding pin an output port, while clearing the bit 
to 0 makes the pin an input port. 
Note: Do not set PCR57 and PCR56 to 1 for H8/3664N. 










