High Impedance Control; Special Output - Epson S1C6P366 Technical Manual

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

4.5.3 High impedance control

The terminal output status of the output ports can be set to a high impedance status. This control is done
using the high impedance control registers.
The high impedance control registers are provided to correspond with the output ports as shown below.
High impedance control register
R00HIZ
R01HIZ
R02HIZ
R03HIZ
R1HIZ
R2HIZ
When "1" is written to the high impedance control register, the corresponding output port terminal goes
into high impedance status. When "0" is written, the port outputs a signal according to the data register.

4.5.4 Special output

In addition to the regular DC output, special output can be selected for the output ports R02 and R03 as
shown in Table 4.5.4.1 with the software.
Figure 4.5.4.1 shows the configuration of the R02 and R03 output ports.
At initial reset, the output port data register is set to "1" and the high impedance control register is set to
"0". Consequently, the output terminal goes high (V
When using the output port (R02, R03) as the special output port, fix the data register (R02, R03) at "1"
and the high impedance control register (R02HIZ, R03HIZ) at "0" (data output). The respective signal
should be turned ON and OFF using the special output control register.
Note: • Be aware that the output terminal is fixed at a low (V
written to the R02 and R03 registers when the special output has been selected.
• Be aware that the output terminal shifts into high impedance status when "1" is written to the
high impedance control register (R02HIZ, R03HIZ).
S1C6P366 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports)
Corresponding output port
Table 4.5.4.1 Special output
Terminal
Special output
R03
FOUT
R02
TOUT
FOUT
Register
FOUTE
Register
R03
Register
R03HIZ
TOUT
Register
PTOUT
Register
R02
Register
R02HIZ
Fig. 4.5.4.1 Configuration of R02 and R03 output ports
EPSON
R00 (1-bit)
R01 (1-bit)
R02 (1-bit)
R03 (1-bit)
R10–R13 (4-bit)
R20–R23 (4-bit)
Output control register
FOUTE
PTOUT
).
DD
) level the same as the DC output if "0" is
SS
R03
(FOUT)
R02
(TOUT)
35

Advertisement

Table of Contents
loading

Table of Contents