208
CHAPTER 17 SOUND GENERATOR
Figure 17-3. Sound Generator Control Register (SGCR) Format
Address: FF94H After Reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
SGCR
TCE
0
0
0
SGOB
SGCL2
SGCL1
SGCL0
TCE
Sound Generator Operation Selection
0
Timer operation stopped
SGOF/SGO and SGOA for low-level output
1
Sound generator operation
SGOF/SGO and SGOA for output
Caution
Before setting the TCE bit, set all the other bits.
Remark SGOF: Basic cycle signal (without amplitude)
SGO:
Basic cycle signal (with amplitude)
SGOA: Amplitude signal
SGOB
Sound Generator Output Selection
0
Selects SGOF and SGOA outputs
1
Selects SGO and PCL outputs
SGCL2
SGCL1
5-Bit Counter Input Frequency f
SG2
Selection
0
0
f
SG2
= f
SG1
/2
5
0
1
f
SG2
= f
SG1
/2
6
1
0
f
SG2
= f
SG1
/2
7
1
1
f
SG2
= f
SG1
/2
8
SGCL0
Sound Generator Input Frequency Selection
0
f
SG1
= f
X
/2
1
f
SG1
= f
X
Cautions 1. When rewriting SGCR to other data, stop the timer operation (TCE = 0) beforehand.
2. Bits 4 to 6 must be set to 0.
Summary of Contents for mPD780973 Series
Page 2: ...2 MEMO ...
Page 66: ...66 MEMO ...
Page 98: ...98 MEMO ...
Page 138: ...138 MEMO ...
Page 164: ...164 MEMO ...
Page 182: ...182 MEMO ...
Page 204: ...204 MEMO ...
Page 244: ...244 MEMO ...
Page 262: ...262 MEMO ...
Page 278: ...278 MEMO ...
Page 290: ...290 MEMO ...