tmp86c408idmg TOSHIBA Semiconductor CORPORATION, tmp86c408idmg Datasheet - Page 57

no-image

tmp86c408idmg

Manufacturer Part Number
tmp86c408idmg
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
5. I/O Ports
input data should be externally held until the input data is read from outside or reading should be performed several
times before processing. Figure 5-1 shows input/output timing examples.
timing cannot be recognized from outside, so that transient input such as chattering must be processed by the pro-
gram.
port.
The TMP86C408IDMG have 4 parallel input/output ports as follows.
Each output port contains a latch, which holds the output data. All input ports do not have latches, so the external
External data is read from an I/O port in the S1 state of the read cycle during execution of the read instruction. This
Output data changes in the S2 state of the write cycle during execution of the instruction which writes to an I/O
Note: The positions of the read and write cycles may vary, depending on the instruction.
Port P0
Port P1
Port P2
Port P3
Data input
Output strobe
Data Output
execution cycle
execution cycle
nput strobe
nstruction
nstruction
Primary Function
8-bit I/O port
5-bit I/O port
3-bit I/O port
8-bit I/O port
Figure 5-1 Input/Output Timing (Example)
S0
S0
External interrupt input, Timer/Counter input/output, serial interface input/output
External interrupt input and divider output
External interrupt input and STOP mode release signal input
Analog input, STOP mode release signal input and Timer/Counter input/output
Fetch cycle
Fetch cycle
S1
S1
S2
S2
S3
S3
Page 47
S0
S0
(b) Output timing
(a) nput timing
: LD A, (x)
: LD (x), A
Fetch cycle
Fetch cycle
Old
S1
S1
Secondary Functions
S2
S2
S3
S3
S0
S0
Read cycle
Write cycle
S1
S1
S2
S2
New
S3
S3
TMP86C408IDMG

Related parts for tmp86c408idmg