tmp88ch40img TOSHIBA Semiconductor CORPORATION, tmp88ch40img Datasheet - Page 43

no-image

tmp88ch40img

Manufacturer Part Number
tmp88ch40img
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5. Input/Output Ports
have a latch, so it is desirable that the input data be retained externally until it is read out, or read several times before
being processed. Figure 5-1 shows input/output timing.
cution. Because this timing cannot be recognized from the outside, transient input data such as chattering needs to be
dealt with in a program. The timing at which data is forwarded to input/output ports is S2 state in the write cycle of
instruction execution.
The TMP88CH40IMG contains 4 input/output ports comprised of 19 pins.
All output ports contain a latch, and the output data therefore are retained by the latch. But none of the input ports
The timing at which external data is read in from input/output ports is S1 state in the read cycle of instruction exe-
Note: The read/write cycle positions vary depending on instructions.
Port P1
Port P3
Port P4
Port P6
Data input
Output latch pulse
Data Output
execution cycle
execution cycle
nput strobe
nstruction
nstruction
Primary Function
Figure 5-1 Example of Input/Output Timing
1-bit I/O port
8-bit I/O port
6-bit I/O port
4-bit I/O port
S0
S0
Fetch cycle
Fetch cycle
External interrupt input
Motor control input/output
Serial interface input/output, motor control circuit input
Analog input and motor control circuit output
S1
S1
S2
S2
S3
S3
Page 35
Ex: LD A, (x)
Ex: LD (x), A
S0
S0
(b) Output timing
(a) nput timing
Fetch cycle
Fetch cycle
S1
S1
Secondary Functions
S2
S2
S3
S3
S0
S0
Read cycle
Write cycle
S1
S1
S2
S2
S3
S3
TMP88CH40IMG

Related parts for tmp88ch40img