Toshiba H1 SERIES TLCS-900 User Manual
Page 57

TMP92CM22
2007-02-16
92CM22-55
Port 4 Register
7 6 5 4 3 2 1 0
Bit
symbol
P47 P46 P45 P44 P43 P42 P41 P40
Read/Write R/W
After reset
Data from external port (Output latch register is cleared to “0”.)
Port 4 Control Register
7 6 5 4 3 2 1 0
Bit
symbol P47C P46C P45C P44C P43C P42C P41C P40C
Read/Write W
After
reset
0 0 0 0 0 0 0 0
Function
0: Input 1: Output (Note2)
Port 4 Function Register
7 6 5 4 3 2 1 0
Bit
symbol P47F P46F P45F P44F P43F P42F P41F P40F
Read/Write W
After
reset
1 1 1 1 1 1 1 1
Function
0: Port 1: Address bus (A0 to A7)
Note1: Read-modify-write instruction is prohibited for registers P4CR and P4FC.
Note2: When these ports are used as general-purpose I/O port, each bit can be set individually for input or output.
However, each bit cannot be set individually for input or output even if 1bit or more bits are used as address
bus in same port. All of general-purpose I/O ports except for port that used as address bus are operated as
output port. Please be careful when using this setting.
Figure 3.5.4 Register for Port 4
P4
(0010H)
P4CR
(0012H)
P4FC
(0013H)