Datasheet
Section 9 I/O Ports
Rev. 3.00 Sep. 14, 2006 Page 125 of 408
REJ09B0105-0300
9.3.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 All 0 Reserved
These bits are always read as 0.
5 WKP5 0 R/W P55/WKP5/ADTRG Pin Function Switch
Selects whether pin P55/WKP5/ADTRG is used as P55
or as WKP5/ADTRG.
0: General I/O port
1: WKP5/ADTRG input pin
4 to 0 All 0 Reserved
These bits are always read as 0.
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
PCR57
PCR56
PCR55
0
0
0
W
W
W
When each of the port 5 pins, P57 to P55, 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.
4 to 0 Reserved










