S1C6S3N2 TECHNICAL HARDWARE
EPSON
I-47
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports)
I/O control register
and I/O mode
Mask option
Input or output mode can be set for the four bits of I/O port
P00–P03 and I/O port P10–P13 by writing data into the
corresponding I/O control register IOC0 and IOC1.
To set the input mode, "0" is written to the I/O control
register. When an I/O port is set to input mode, it becomes
high impedance status and works as an input port. How-
ever, the input line is pulled down when input data is read.
The output mode is set when "1" is written to the I/O control
register. When an I/O port set to output mode works as an
output port, it outputs a high signal (V
DD
) when the port
output data is "1", and a low signal (V
SS
) when the port
output data is "0".
At initial reset, the I/O control registers are set to "0", and
the I/O port enters the input mode.
The output specification during output mode (IOC = "1") of
these I/O ports can be set with the mask option for either
complementary output or Pch open drain output. This
setting can be performed for each bit of each port.
However, when Pch open drain output has been selected,
voltage in excess of the power voltage must not be applied to
the port.
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......