
S1C88348/317/316/308 TECHNICAL SOFTWARE
EPSON
II-93
14 SOUND GENERATOR
Flowchart
(3) Buzzer output with digital envelope
envelope_init
4,096 Hz
1 sec
Buzzer frequency setting
Envelope ON
Attenuation time setting
ret
envelope_reset
2,048 Hz
0.5 sec
Buzzer frequency setting
Envelope attenuation
time setting
Envelope reset
ret
envelope_on
Turns buzzer output on
(with envelope)
BZON
← 1
ret
envelope_off
Turns buzzer output off
(with envelope)
BZON
← 0
ret
(4) One-shot buzzer output
oneshot_ready
125 msec
Y
N
One-shot buzzer
pulse width setting
One-shot READY
ret
oneshot_on
Turns one-shot buzzer on
BZSHT
← 1
ret
oneshot_off
One-shot buzzer
forcibly stop
BZSTP
← 1
ret
Note
The R50 terminal is common to the normal DC output port and the buzzer output. When a buzzer circuit
has been configured with the R50 terminal, set the R50 register to "1" and control the signal ON/OFF
using the BZON register.