I/O Memory Of Sound Generator - Epson S1C63616 Technical Manual

Table of Contents

Advertisement

4.11.7 I/O memory of sound generator

Table 4.11.7.1 shows the I/O addresses and the control bits for the sound generator.
Register
Address
D3
D2
D1
MDCKE SGCKE SWCKE RTCKE
FF16H
R/W
ENRTM ENRST ENON
FF44H
R/W
W
0
BZSTP BZSHT SHTPW
FF45H
R
W
0
BZFQ2 BZFQ1 BZFQ0
FF46H
R
R/W
0
BDTY2 BDTY1 BDTY0
FF47H
R
R/W
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
SGCKE: Sound generator clock enable register (FF16H•D2)
Controls the clock supply to the sound generator.
When "1" is written: On
When "0" is written: Off
Reading: Valid
When "1" is written to SGCKE, the sound generator operating clock is supplied from the clock manager. If it
is not necessary to run the sound generator, stop the clock supply by setting SGCKE to "0" to reduce current
consumption.
At initial reset, this register is set to "0".
BZE: Buzzer output enable register (FF44H•D0)
Controls the buzzer signal output.
When "1" is written: Buzzer output On
When "0" is written: Buzzer output Off
Reading: Valid
When "1" is written to BZE, the BZ signal is output from the P03 (BZ) terminal. The I/O control register
IOC03 and data register P03 settings are ineffective while the BZ signal is being output.
When BZE is set to "0", the P03 port is configured as a general-purpose DC input/output port.
At initial reset, this register is set to "0".
Table 4.11.7.1 Control bits of sound generator
∗1
D0
Name Init
1
MDCKE
0
Enable
SGCKE
0
Enable
SWCKE
0
Enable
RTCKE
0
Enable
ENRTM
0
1 sec
BZE
∗3
ENRST
Reset
Reset
ENON
0
On
R/W
BZE
0
Enable
∗3
∗2
0
∗3
BZSTP
0
Stop
BZSHT
0
Trigger
Busy
R/W
SHTPW
0
125 msec
∗3
∗2
0
BZFQ2
0
BZFQ1
0
BZFQ0
0
∗3
∗2
0
BDTY2
0
BDTY1
0
BDTY0
0
0
Disable
Integer multiplier clock enable
Disable
Sound generator clock enable
Disable
Stopwatch timer clock enable
Disable
Clock timer clock enable
0.5 sec
Envelope releasing time selection
Invalid
Envelope reset (writing)
Off
Envelope On/Off
Disable
Buzzer output enable
Unused
Invalid
1-shot buzzer stop (writing)
Invalid
1-shot buzzer trigger (writing)
Ready
1-shot buzzer status (reading)
31.25 msec
1-shot buzzer pulse width setting
Unused
[BZFQ2–0]
Buzzer
Frequency (Hz)
frequency
[BZFQ2–0]
selection
Frequency (Hz)
Unused
Buzzer signal duty ratio selection
(refer to main manual)
SIC63616-(Rev. 1.0) NO. P139
Comment
0
1
2
4096.0
3276.8
2730.7
2340.6
4
5
6
2048.0
1638.4
1365.3
1170.3
3240-0412
3
7

Advertisement

Table of Contents
loading

Table of Contents