
34
EPSON
S1C63808 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports)
4.5.3 High impedance control
The output ports can be set into 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
Corresponding output port
R00HIZ
R00 (1 bit)
R01HIZ
R01 (1 bit)
R02HIZ
R02 (1 bit)
R03HIZ
R03 (1 bit)
R1HIZ
R10–R13 (4 bits)
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 R01, R02 and R03
as shown in Table 4.5.4.1 with the software.
Table 4.5.4.1 Special output
Terminal
R03
R02
R01
Special output
FOUT
TOUT
BZ
Output control register
FOUTE
PTOUT
BZE, BZSHT
At initial reset, the output port data register is set to "0" and the high impedance control register is set to
"0". Consequently, the output terminal goes low (VSS).
When using the output port (R01, R02, R03) as the special output port, fix the data register (R01, R02, R03)
at "1" and the high impedance control register (R01HIZ, R02HIZ, R03HIZ) at "0" (data output). The
respective signal should be turned on and off using the special output control register.
Notes: Be aware that the output terminal is fixed at a low (VSS) level the same as the DC output if "0" is
written to the R01, 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 (R01HIZ, R02HIZ, R03HIZ).
BZ (R01)
The R01 terminal can output a BZ signal.
The BZ signal is the buzzer signal that is output from the sound generator.
To output the BZ signal, fix the R01 register at "1" and the R01HIZ register at "0", and turn the signal
on and off using the BZE or BZSHT register.
Refer to Section 4.11, "Sound Generator" for details of the buzzer signal and controlling method.
Note: A hazard may occur when the BZ signal is turned on and off.
Figure 4.5.4.1 shows the output waveform of the BZ signal.
R01HIZ register
R01 register
BZE register
BZ output
Fix at "0"
Fix at "1"
"1"
"0"
Fig. 4.5.4.1 Output waveform of BZ signal