Chapter 19 Simple Sound Generator (SSGV1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
663
19.3.2.5
SSG Amplitude Register (SSGAMP)
SSGAMP register contains amplitude duty.
s
Read: Anytime
Write: Anytime
NOTE
due to algorithm reason, in gong attack operation mode, amplitude should
not be set to 0, otherwise amplitude will always be 0 and gong attack
operation will never end.
19.3.2.6
SSG Amplitude Adjustment (SSGAA)
The SSGAA is amplitude adjustment register.
Module Base + 0x0006
7
6
5
4
3
2
1
0
R
0
0
0
0
0
AMP10
AMP9
AMP8
W
Reset
0
0
0
0
0
0
0
0
Figure 19-9. SSG amplitude Register (SSGAMPH)
Module Base + 0x0007
7
6
5
4
3
2
1
0
R
AMP7
AMP6
AMP5
AMP4
AMP3
AMP2
AMP1
AMP0
W
Reset
0
0
0
0
0
0
0
0
Figure 19-10. SSG amplitude Register (SSGAMPL)
Table 19-8. SSGAMP Field Descriptions
Field
Description
10–0
AMP[10:0]
SSG Amplitude Register Bits —
Amplitude duty cycle is SSGAMP/(SSGPS+1). When SSGAMP >= SSGPS+1, duty cycle will be 100%.
Module Base + 0x0008
7
6
5
4
3
2
1
0
R
0
0
0
0
0
AA10
AA9
AA8
W
Reset
0
0
0
0
0
0
0
0
Figure 19-11. SSG Amplitude Adjustment (SSGAAH)