
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports)
S1C60N09 TECHNICAL MANUAL
EPSON
17
The FOUT output is controlled by the R02 register.
Figure 4.4.2.3 shows the output waveform.
R02 register
FOUT output (R02 terminal)
"0"
"1"
"0"
Fig. 4.4.2.3 Output waveform of FOUT
Note: A hazard may occur when the FOUT signal is turned on or off.
4.4.3 I/O memory of output port
Table 4.4.3.1 lists the output port control bits and their addresses.
Table 4.4.3.1 Control bits of output port
Address
Comment
D3
D2
Register
D1
D0
Name
Init 1
10
07CH
R03
R02
R01
R00
R/W
R03
R02
R01
R00
0
High
2 kHz
–
Low
Output port (R03, BZ)
Output port (R02, FOUT)
Output port (R01)
Output port (R00, BZ)
1
2
Initial value at initial reset
Not set in the circuit
3
4
Always "0" being read
Reset (0) immediately after being read
0F6H
BZFQ
0
R/W
R
BZFQ
0 3
0
– 2
4 kHz
–
Buzzer frequency selection
Unused
R00–R03 (when DC output is selected): Output port data (07CH)
Sets the output data for the output ports.
When "1" is written: High output
When "0" is written: Low output
Reading: Valid
The output port terminals output the data written to the corresponding registers (R00–R03) without
changing it. When "1" is written to the register, the output port terminal goes high (VDD), and when "0" is
written, the output port terminal goes low (VSS).
After an initial reset, all the registers are set to "0".
R00, R03 (when buzzer output is selected): Buzzer output control (07CHD0, D3)
Controls the buzzer output.
When "1" is written: Buzzer output
When "0" is written: Low level (DC) output
Reading: Valid
The BZ signal is output from the R00 terminal by writing "1" to the R00 register. When "0" is written, the
R00 terminal goes low.
For the BZ signal, either "R03 control" or "R00 control" can be selected by mask option.
When "R03 control" is selected, the BZ signal is output from the R03 terminal by writing "1" to the R03
register. When "0" is written to the R03 register, the R03 terminal goes low.
When "R00 control" is selected, the BZ and BZ signals are output simultaneously by writing "1" to the R00
register. When "0" is written to the R00 register, the R00 and R03 terminals go low.
After an initial reset, these registers are set to "0".