Chapter 19 Simple Sound Generator (SSGV1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
667
Read: Anytime
Write: Anytime
19.3.2.12 SSG Tone Duration Counter (SSGDCNT)
The SSGDCNT is tone duration counter which contains tone cycle number. It is triggered by the negedge
of tone signal.
Read: Anytime
Write: Anytime
Module Base + 0x0010
7
6
5
4
3
2
1
0
R
0
0
0
0
0
AMPB10
AMPB9
AMPB8
W
Reset
0
0
0
0
0
0
0
0
Figure 19-18. Buffer Register of SSGAMP (SSGAMPBH)
Module Base + 0x0011
7
6
5
4
3
2
1
0
R
AMPB7
AMPB6
AMPB5
AMPB4
AMPB3
AMPB2
AMPB1
AMPB0
W
Reset
0
0
0
0
0
0
0
0
Figure 19-19. Buffer Register of SSGAMP (SSGAMPBL)
Table 19-14. SSGAMPB Field Descriptions
Field
Description
10–0
AMPB[10:0]
SSGAMPB Bits —
The register is read only. In reload time the SSGAMP will be copied to the SSGAMPB. If attack/decay function
is enabled, the SSGAMPB will do decay or attack operation automatically leaving the SSGAMP unchanged. The
SSGAMPB determines the amplitude directly and finally.
Module Base + 0x0012
7
6
5
4
3
2
1
0
R
DCNT7
DCNT6
DCNT5
DCNT4
DCNT3
DCNT2
DCNT1
DCNT0
W
Reset
0
0
0
0
0
0
0
0
Figure 19-20. SSG Tone Duration Counter (SSGDCNT)