Nintendo 1504166 Programming Manual - Page 99
Sound 4 Usage Note], SOUND4CNT_H [d02 - 00] Dividing Ratio Frequency Selection
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 99 highlights
AGB Programming Manual Sound SOUND4CNT_H [d02 - 00] Dividing Ratio Frequency Selection Selects a 14-step prescalar input clock to produce the shift clock for the polynomial counter. With f=4.194304 MHz, selection is as shown in the following table. Setting 000 001 010 011 100 101 110 111 Dividing Ratio Frequency fx1/23x2 fx1/23x1 fx1/23x(1/2) fx1/23x(1/3) fx1/23x(1/4) fx1/23x(1/5) fx1/23x(1/6) fx1/23x(1/7) [Sound 4 Usage Note] When a value is written to the envelope register, sound output becomes unstable before the initialization flag is set. Therefore, set initialization flag immediately after writing a value to the envelope register. ©1999 - 2001 Nintendo of America Inc. 99 D.C.N. AGB-06-0001-002B4
AGB Programming Manual
Sound
©1999 - 2001 Nintendo of America Inc.
99
D.C.N. AGB-06-0001-002B4
SOUND4CNT_H [d02 - 00] Dividing Ratio Frequency Selection
Selects a 14-step prescalar input clock to produce the shift clock for the
polynomial counter.
With f=4.194304 MHz, selection is as shown in the following table.
Setting
Dividing Ratio Frequency
000
fx1/2
3
x2
001
fx1/2
3
x1
010
fx1/2
3
x(1/2)
011
fx1/2
3
x(1/3)
100
fx1/2
3
x(1/4)
101
fx1/2
3
x(1/5)
110
fx1/2
3
x(1/6)
111
fx1/2
3
x(1/7)
[Sound 4 Usage Note]
When a value is written to the envelope register, sound output becomes
unstable before the initialization flag is set.
Therefore, set initialization flag
immediately after writing a value to the envelope register.