Specifications
II-26 EPSON S1C62N82 TECHNICAL SOFTWARE
CHAPTER 3: PERIPHERAL CIRCUITS (Special Use Output Ports)
• Melody output MO, MO or envelope output (R12)
MO and MO (or ENV) are the melody signal output pins for
driving a piezo or speaker through an amplifying transistor.
Refer to 3.11, "Melody Generator".
• FOUT (R10)
When output port R10 is set for FOUT, it outputs the fosc3
clock or the divided fosc1. The clock frequencies listed in
Table 3.4.3 selectable by mask option.
Example of special
use output port
control program
fosc1 / 1
fosc1 / 2
fosc1 / 4
fosc1 / 8
fosc1 / 16
fosc1 / 32
fosc1 / 64
fosc1 / 128
32,768
16,384
8,192
4,096
2,048
1,024
512
256
Setting Value
Clock Frequency (Hz)
fosc3 1,000,000 (Typ.)
Table 3.4.3
Selectable by mask option
Label Mnemonic/operand Comment
LD Y,0F4H ;Set address of port
OR MY,0001B ;Turn on FOUT
AND MY,1110B ;Turn off FOUT