
S1C88348/317/316/308 TECHNICAL HARDWARE
EPSON
I-135
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Sound Generator)
BZSHT: 00FF44HD5
Controls the one-shot buzzer output.
When "1" is written: Trigger
When "0" is written: No operation
When "1" is read:
Busy
When "0" is read:
Ready
Writing "1" into BZSHT causes the one-shot output
circuit to operate and the BZ signal to be output.
The buzzer output is automatically turned OFF
after the time set by SHTPW has elapsed. At this
time, "0" must always be set for the data register
R50D.
The one-shot output is only valid when the normal
buzzer output is OFF (BZON = "0") status. The
trigger is invalid during ON (BZON = "1") status.
When a re-trigger is assigned during a one-shot
output, the one-shot output time set with SHTPW is
measured again from that point. (time extension)
The operation status of the one-shot output circuit
can be confirmed by reading BZSHT, when the one-
shot output is ON (busy), BZSHT reads "1" and
when the output is OFF (ready), it reads "0".
At initial reset, BZSHT is set to "0" (ready).
BZSTP: 00FF44HD6
Forcibly stops the one-shot buzzer output.
When "1" is written: Forcibly stop
When "0" is written: No operation
Reading:
Constantly "0"
By writing "1" into BZSTP, the one-shot buzzer
output can be stopped prior to the elapsing of the
time set with SHTPW.
Writing "0" is invalid and writing "1" except during
one-shot output is also invalid.
When "1" is written to BZSHT and BZSTP simulta-
neously, BZSTP takes precedence and one-shot
output becomes stop status.
Since BZSTP is for writing only, during readout it is
constantly set to "0".
5.13.7 Programming notes
(1) Since the BZ signal is generated asynchronously
from the register BZON, when the signal is
turned ON or OFF by the register setting, a
hazard of a 1/2 cycle or less is generated.
(2) The SLP instruction has executed when the BZ
signal is in the enable status (BZON = "1" or
BZSHT = "1"), an unstable clock is output from
the R50 output port terminal at the time of
return from the SLEEP status. Consequently,
when shifting to the SLEEP status, you should
set the BZ signal to the disable status (BZON =
BZSHT = "0") prior to executing the SLP
instruction.
(3) The one-shot output is only valid when the
normal buzzer output is OFF (BZON = "0")
status. The trigger is invalid during ON (BZON
= "1") status.