HD6433935 Hitachi, HD6433935 Datasheet - Page 172

no-image

HD6433935

Manufacturer Part Number
HD6433935
Description
8-Bit MICROCONTROLLER
Manufacturer
Hitachi
Datasheet
4. Port mode register 5 (PMR5)
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: P5
These bits select whether the pin is used as P5
Bit n
WKPn
0
1
8.6.3
Table 8-15 shows the port 5 pin functions.
Table 8-15 Port 5 Pin Functions
Pin
P5
P5
160
Bit
Initial value
Read/Write
7
0
/WKP
/WKP
n
7
0
/WKP
Pin Functions
to
Description
Functions as P5
Functions as WKP
n
pin function switch (WKP
Pin Functions and Selection Method
The pin function depends on bit WKP
WKP
R/W
7
0
Pin function
7
PCR5
WKP
WKP
R/W
n
n
n
6
0
I/O pin
n
6
input pin
WKP
P5
R/W
5
0
n
input pin P5
5
n
0
)
n
or WKP
WKP
R/W
4
0
0
4
n
n
n
in PMR5 and bit PCR5
.
output pin
WKP
R/W
1
3
0
3
WKP
R/W
2
0
2
WKP
n
input pin
R/W
WKP
in PCR5.
1
0
1
*
1
(initial value)
n
*: Don’t care
(n = 7 to 0)
(n = 7 to 0)
WKP
R/W
0
0
0

Related parts for HD6433935