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

Cmos 4-bit single chip microcontroller
Table of Contents

Advertisement

15 SOunD GeneRaTOR
15.7

i/O Memory of Sound Generator

Table 15.7.1 shows the I/O addresses and the control bits for the sound generator.
Address
Register name R/W Default
FF16H D3 MDCKE (*5)
R/W
D2 SGCKe
R/W
D1 SWCKE
R/W
D0 RTCKE
R/W
FF44H D3 enRTM
R/W
D2 enRST (*3)
D1 enOn
R/W
D0 BZe
R/W
FF45H D3 0 (*3)
D2 BZSTP (*3)
D1 BZShT
R/W
D0 ShTPW
R/W
FF46H D3 0 (*3)
D2 BZFQ2
R/W
D1 BZFQ1
R/W
D0 BZFQ0
R/W
FF47H D3 0 (*3)
D2 BDTY2
R/W
D1 BDTY1
R/W
D0 BDTY0
R/W
*1 Initial value at initial reset
*4 Unused in the S1C63003/004/008
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 con-
sumption. 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 BZ (P12) terminal. The I/O control register IOC12
and data register P12 settings are ineffective while the BZ signal is being output. When BZE is set to "0," the P12
port is configured as a general-purpose DC input/output port. At initial reset, this register is set to "0."
15-4
256 Hz
SHTPW
BZSHT (W)
BZSHT (R)
BZSTP
BZ output
Figure 15.
6.1 Timing chart for one-shot output
Table 15.
7.1 Control bits of sound generator
Setting/data
0
1 Enable
0
1 Enable
0
1 Enable
0
1 Enable
0
1 1 sec
W
(Reset) 1 Reset
0
1 On
0
1 Enable
R
– (*2)
W
0
1 Stop
0
1 Trigger (W)
Busy (R)
0
1 125 msec
R
– (*2)
0
7 1170.3
4 2048.0
0
6 1365.3
3 2340.6
0
5 1638.4
2 2730.7
R
– (*2)
0
7 Level 8
4 Level 5
0
6 Level 7
3 Level 4
0
5 Level 6
2 Level 3
*2 Not set in the circuit
*5 Unused in the S1C63003/004
Seiko epson Corporation
0 Disable
Integer multiplier clock enable
0 Disable
Sound generator clock enable
0 Disable
Stopwatch timer clock enable
0 Disable
Clock timer clock enable
0 0.5 sec
Envelope releasing time selection
0 Invalid
Envelope reset (writing)
0 Off
Envelope On/Off
0 Disable
Buzzer output enable
Unused
0 Invalid
1-shot buzzer stop (writing)
0 Invalid (W)
1-shot buzzer trigger (writing)
Ready (R)
1-shot buzzer status (reading)
0 31.25 msec
1-shot buzzer pulse width setting
Unused
1 3276.8
Buzzer frequency (Hz) selection
0 4096.0
Unused
1 Level 2
Buzzer signal duty ratio selection
0 Level 1
(max.)
*3 Constantly "0" when being read
*6 Unused in the S1C63003
S1C63003/004/008/016 TeChniCal Manual
Function
(Rev. 1.1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c63004S1c63008S1c63016

Table of Contents