Chapter 19 Simple Sound Generator (SSGV1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
662
Freescale Semiconductor
19.3.2.4
SSG Tone Register (SSGTONE)
SSGTONE is SSG tone register. The tone frequency range is between 100Hz to 8KHz. Refer to
for the tone frequency divide ratio and possible tone frequency.
Read: Anytime
Write: Anytime
Module Base + 0x0004
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
TONE9
TONE8
W
Reset
0
0
0
0
0
0
0
0
Figure 19-7. SSG Tone Register (SSGTONEH)
Module Base + 0x0005
7
6
5
4
3
2
1
0
R
TONE7
TONE6
TONE5
TONE4
TONE3
TONE2
TONE1
TONE0
W
Reset
0
0
0
0
0
0
0
0
Figure 19-8. SSG Tone Register (SSGTONEL)
Table 19-6. SSGPS Field Descriptions
Field
Description
9–0
TONE[9:0]
SSG Tone Register Bits —
The tone frequency is equal to prescaler clock / (2*(1)).
Table 19-7.
Tone Frequency configuration
Prescaler Clock
Frequency
Tone Frequency
Range
SSGTONE[9:0]
Adjacent Tone
Frequency Gap
Range
15KHz
100Hz~7.5KHz
0x4A~0x0
1.351Hz~3750Hz
30KHz
100Hz~7.5KHz
0x95~0x1
0.671Hz~2500Hz
60KHz
100Hz~7.5KHz
0x12B~0x3
0.334Hz~1500Hz
90KHz
100Hz~7.5KHz
0x1C1~0x5
0.223~1072Hz
125KHz
100Hz~7.813KHz
0x270~0x7
0.16Hz~1115Hz