S1C6S3N2 TECHNICAL HARDWARE
EPSON
I-49
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports)
P00–P03, P10–P13:
I/O port data
(07DH, 0FDH)
I/O port data can be read and output data can be set
through these ports.
• When writing data
When "1" is written :
High level
When "0" is written :
Low level
When an I/O port is set to the output mode, the written
data is output unchanged from the I/O port terminal. When
"1" is written as the port data, the port terminal goes high
(V
DD
), and when "0" is written, the level goes low (V
SS
).
Port data can be written also in the input mode.
• When reading data out
When "1" is read out : High level
When "0" is read out : Low level
The terminal voltage level of the I/O port is read out. When
the I/O port is in the input mode the voltage level being
input to the port terminal can be read out; in the output
mode the output voltage level can be read. When the termi-
nal voltage is high (V
DD
) the port data that can be read is
"1", and when the terminal voltage is low (V
SS
) the data is
"0".
Further, the built-in pull-down resistance goes ON during
read-out, so that the I/O port terminal is pulled down.
- When the I/O port is set to the output mode and a low-impedance
load is connected to the port terminal, the data written to the
register may differ from the data read out.
- When the I/O port is set to the input mode and a low-level volt-
age (V
SS
) is input, erroneous input results if the time constant of
the capacitive load of the input line and the built-in pull-down
resistance load is greater than the read-out time. When the input
data is being read out, the time that the input line is pulled down
is equivalent to 1.5 cycles of the CPU system clock. However,
the electric potential of the terminals must be settled within 0.5
cycles. If this condition cannot be fulfilled, some measure must
be devised such as arranging pull-down resistance externally, or
performing multiple read-outs.
Note
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......