Toshiba TMP92CM22FG TLCS-900/H1 Series Manual page 56

Toshiba original cmos 32-bit microcontroller
Table of Contents

Advertisement

3.5.2
Port 4 (P40 to P47)
Port 4 is an 8-bit general-purpose I/O port*. Bits can be individually set as either inputs
or outputs by control register P4CR and function register P4FC*.
In addition to functioning as a general-purpose I/O port, port 4 can also function as a
address bus (A0 to A7).
After released reset, device set Port 4 to pins of follow function by combination of AM1
and AM0 pins.
Reset
*: 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.
AM1
AM0
Function Setting after Reset
0
0
0
1
1
0
1
1
Internal address bus
Direction control
(on bit basis)*
P4CR write
Function control
(on bit basis)
P4FC write
Output latch
P4 write
P4 read
Figure 3.5.3 Port 4
92CM22-54
Don't use this setting
Address bus (A0 to A7)
Address bus (A0 to A7)
Don't use this setting
A0 to A7
S
B
Selector
Output buffer
A
TMP92CM22
Port 4
P40 to P47
(A0 to A7)
2007-02-16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900/h1 series

Table of Contents