Port Mode Register 5 (PMR5)
Bit
7
WKP
Initial value
0
Read/Write
R/W
PMR5 is an 8-bit read/write register, controlling the selection of pin functions for port 5 pins.
Upon reset, PMR5 is initialized to H'00.
WKP
WKP
WKP
Bit n—P5
/WKP
/SEG
n
n
When pin P5n/WKPn/SEGn+1 is not used as SEG
P5n or WKP
.
n
Bit n
WKPn
Description
0
Functions as P5n I/O pin
Functions as WKP
1
Note: For use as SEG
6
5
WKP
WKP
7
6
5
0
0
R/W
R/W
Pin Function Switch (WKPn)
n+1
input pin
n
, see section 13.2.1, LCD Port Control Register (LPCR).
n+1
4
3
WKP
WKP
WKP
4
3
0
0
R/W
R/W
, these bits select whether the pin is used as
n+1
Rev. 6.00, 08/04, page 209 of 628
2
1
WKP
WKP
2
1
0
0
R/W
R/W
R/W
(initial value)
(n = 7 to 0)
0
0
0