ST2202A
TABLE 14-1 Summary Of PSG Registers
Bit 6 Bit 5 Bit 4 Bit 3 Bit 2
PSG0[7]ꢀ PSG0[6]ꢀ PSG0[5]ꢀ PSG0[4]ꢀ PSG0[3]ꢀ PSG0[2]ꢀ PSG0[1]ꢀ PSG0[0]ꢀ 0000ꢀ0000ꢀ
ꢁꢀ ꢁꢀ ꢁꢀ ꢁꢀ PSG0[11]ꢀ PSG0[10]ꢀ PSG0[9]ꢀ PSG0[8]ꢀ ꢀ ꢁꢀꢁꢀꢁꢀꢁꢀ0000ꢀ
PSG1[7]ꢀ PSG1[6]ꢀ PSG1[5]ꢀ PSG1[4]ꢀ PSG1[3]ꢀ PSG1[2]ꢀ PSG1[1]ꢀ PSG1[0]ꢀ 0000ꢀ0000ꢀ
Address Name R/W
Bit 7
Bit 1
Bit 0
Default
$010 PSG0L
$011 PSG0H
Wꢀ
Wꢀ
Wꢀ
Wꢀ
Wꢀ
Wꢀ
Wꢀ
$012 PSG1L
$013 PSG1H
ꢁꢀ
ꢁꢀ
ꢁꢀ
ꢁꢀ
PCK[2]ꢀ PCK[1]ꢀ PCK[0]ꢀ PRBSꢀ
PCK[2]ꢀ PCK[1]ꢀ PCK[0]ꢀ DMD[1]ꢀ DMD[0]ꢀ
ꢁꢀ
ꢁꢀ
PSG1[11]ꢀ PSG1[10]ꢀ PSG1[9]ꢀ PSG1[8]ꢀ ꢀ ꢁꢀꢁꢀꢁꢀꢁꢀ0000ꢀ
C1ENꢀ
C0ENꢀ DACE=0ꢀ ꢀ ꢁꢀ000ꢀ0000ꢀ
INHꢀ DACE=1ꢀ ꢀ ꢁꢀ000ꢀ0000ꢀ
$016 PSGC
$017 VOL
VOL1[3]ꢀ VOL1[2]ꢀ VOL1[1]ꢀ VOL1[0]ꢀ VOL0[3]ꢀ VOL0[2]ꢀ VOL0[1]ꢀ VOL0[0]ꢀ ꢀ 0000ꢀ0000ꢀ
ꢀ
ꢀ
TABLE 14-2 PSG Volume Control Register (VOL)
Address Name R/W
$017 VOL
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default
Wꢀ
VOL1[3]ꢀ VOL1[2]ꢀ VOL1[1]ꢀ VOL1[0]ꢀ VOL0[3]ꢀ VOL0[2]ꢀ VOL0[1]ꢀ VOL0[0]ꢀ ꢀ 0000ꢀ0000ꢀ
ꢀ
ꢀ
ꢀ
Bitꢀ3~0:ꢀ ꢀ VOL0[3~0] :ꢀPSGꢀchannelꢀ0ꢀvolumeꢀcontrolꢀbitꢀ
0000ꢀ=ꢀNoꢀsoundꢀoutputꢀ
0001ꢀ=ꢀ1/16ꢀvolumeꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ (PSGCKꢀmustꢀ>=ꢀ320KꢀHz)ꢀ
ꢀ ꢀ ꢀ ꢀ :ꢀ
0100ꢀ=ꢀ4/16ꢀvolumeꢀ
ꢀ ꢀ ꢀ ꢀ :ꢀ
1000ꢀ=ꢀ8/16ꢀvolumeꢀ
ꢀ ꢀ ꢀ ꢀ :ꢀ
1111ꢀ=ꢀMaximumꢀvolumeꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ (PSGCKꢀmustꢀ>=ꢀ20KꢀHz)ꢀ
Bitꢀ7~4:ꢀ ꢀ VOL1[3~0] :ꢀPSGꢀchannelꢀ1ꢀvolumeꢀcontrolꢀbitꢀ
0000ꢀ=ꢀNoꢀsoundꢀoutputꢀ
0001ꢀ=ꢀ1/16ꢀvolumeꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ ꢀ (PSGCKꢀmustꢀ>=ꢀ320KꢀHz)ꢀ
ꢀ ꢀ ꢀ ꢀ :ꢀ
0100ꢀ=ꢀ4/16ꢀvolumeꢀ
ꢀ ꢀ ꢀ ꢀ :ꢀ
1000ꢀ=ꢀ8/16ꢀvolumeꢀ
ꢀ ꢀ ꢀ ꢀ :ꢀ
1111ꢀ=ꢀMaximumꢀvolumeꢀ ꢀ ꢀ ꢀ (PSGCKꢀmustꢀ>=ꢀ20KꢀHz)ꢀ ꢀ
Note: If single channel is enable, then PSG volume control can be double. (16
+ 16 = 32 level volume control)
ꢀ
ꢀ ꢀ
ꢀ
Verꢀ2.5ꢀ
33
/75
ꢀ
9/16/2008ꢀ