NEC mPD780973 Series Preliminary User's Manual page 210

8-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 17-4. Sound Generator Buzzer Control Register (SGBR) Format
Address: FF95H
After Reset: 00H
Symbol
7
SGBR
0
SGBR3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Note Output frequency where SGCL0, SGCL1, and SGCL2 are 0, 0, and 0.
Cautions 1. When rewriting SGBR to other data, stop the timer operation (TCE = 0) beforehand.
2. Bits 4 to 7 must be set to 0.
(3) Sound generator amplitude register (SGAM)
SGAM is a register that sets the amplitude of the sound generator output signal.
SGAM is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input clears SGAM to 00H.
Figure 17-5 shows the SGAM format.
210
CHAPTER 17 SOUND GENERATOR
R/W
6
5
4
0
0
0
SGBR2
SGBR1
SGBR0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
3
2
SGBR3
SGBR2
SGBR1
Buzzer Output Frequency (kHz)
f
= 8 MHz
X
3.677
3.851
3.472
3.637
3.290
3.446
3.125
3.273
2.976
3.117
2.841
2.976
2.717
2.847
2.604
2.728
2.500
2.619
2.404
2.518
2.315
2.425
2.232
2.339
2.155
2.258
2.083
2.182
2.016
2.112
1.953
2.046
1
0
SGBR0
Note
f
= 8.38 MHz
X

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780973aMpd780974

Table of Contents