Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 172 of 692
REJ09B0309-0200
9.4.3 Port Pull-Up Control Register 5 (PUCR5)
PUCR5 controls the pull-up MOS of the port 5 pins in bit units.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
PUCR57
PUCR56
PUCR55
PUCR54
PUCR53
PUCR52
PUCR51
PUCR50
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
When a PCR5 bit is cleared to 0, setting the
corresponding PUCR5 bit to 1 turns on the pull-up MOS
for the corresponding pin, while clearing the bit to 0
turns off the pull-up MOS.
9.4.4 Port Mode Register 5 (PMR5)
PMR5 controls the selection of functions for port 5 pins.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
WKP7
WKP6
WKP5
WKP4
WKP3
WKP2
WKP1
WKP0
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
P5n/WKPn/SEG
n+1 Pin Function Switch
These bits select whether the pin is used as P5n or
WKPn when the pin is not used as SEGn+1 pin.
0: P5n I/O pin
1: WKPn input pin
(n = 7 to 0)
[Legend]
For details on the SEG
n+1 output pin, refer to section 21.3.1, LCD Port Control Register (LPCR).