Datasheet

Section 9 I/O Ports
Rev.4.00 Nov. 02, 2005 Page 103 of 304
REJ09B0143-0400
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 POF7 0 R/W P57 Pin Function Switch
0: General I/O port
1: NMOS open-drain output
6 POF6 0 R/W P56 Pin Function Switch
0: General I/O port
1: NMOS open-drain output
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 input.
0: General I/O port
1: WKP5/ADTRG input pin
4 WKP4 0 R/W P54/WKP4 Pin Function Switch
Selects whether pin P54/WKP4 is used as P54 or as WKP4.
0: General I/O port
1: WKP4 input pin
3 WKP3 0 R/W P53/WKP3 Pin Function Switch
Selects whether pin P53/WKP3 is used as P53 or as WKP3.
0: General I/O port
1: WKP3 input pin
2 WKP2 0 R/W P52/WKP2 Pin Function Switch
Selects whether pin P52/WKP2 is used as P52 or as WKP2.
0: General I/O port
1: WKP2 input pin
1 WKP1 0 R/W P51/WKP1 Pin Function Switch
Selects whether pin P51/WKP1 is used as P51 or as WKP1.
0: General I/O port
1: WKP1 input pin
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