English
Language : 

HD6433802H Datasheet, PDF (163/435 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
4. Port mode register 5 (PMR5)
Bit
Initial value
Read/Write
7
WKP7
0
R/W
6
WKP6
0
R/W
5
WKP5
0
R/W
4
WKP4
0
R/W
3
WKP3
0
R/W
2
WKP2
0
R/W
1
WKP1
0
R/W
0
WKP0
0
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.
Bit n: P5n/WKPn/SEGn+1 pin function switch (WKPn)
When pin P5n/WKPn/SEGn+1 is not used as SEGn+1, these bits select whether the pin is used as
P5n or WKPn.
Bit n
WKPn
0
1
Description
Functions as P5n I/O pin
Functions as WKPn input pin
Note: For use as SEGn+1, see 13.2.1, LCD Port Control Register (LPCR).
(initial value)
(n = 7 to 0)
145