#####################################################
#WriteBy:ESMT
#Product:AD83586B_V3.5
#Date:2021/01/12
#####################################################

###################Register_Table####################
Reg[00h]=00h ##State_Control_1
Reg[01h]=06h ##State_Control_2
Reg[02h]=00h ##State_Control_3
Reg[03h]=14h ##Master_volume_control
Reg[04h]=14h ##Channel_1_volume_control
Reg[05h]=14h ##Channel_2_volume_control
Reg[06h]=14h ##Channel_3_volume_control
Reg[07h]=10h ##Bass_tone_boost_and_cut
Reg[08h]=10h ##Treble_tone_boost_and_cut
Reg[09h]=02h ##Bass_management_crossover_frequency
Reg[0Ah]=98h ##State_Control_4
Reg[0Bh]=02h ##Channel_1_configuration_registers
Reg[0Ch]=02h ##Channel_2_configuration_registers
Reg[0Dh]=00h ##Channel_3_configuration_registers
Reg[0Eh]=6ah ##DRC_limiter_attack/release_rate
Reg[0Fh]=00h ##Reserved
Reg[10h]=26h ##Reserved
Reg[11h]=22h ##State_Control_5
Reg[12h]=81h ##PVDD_under_voltage_selection
Reg[13h]=00h ##Zero_detection_level_selection
Reg[14h]=05h ##Coefficient_RAM_base_address
Reg[15h]=c5h ##Top_8-bits_of_coefficients_A1
Reg[16h]=07h ##Middle_8-bits_of_coefficients_A1
Reg[17h]=b1h ##Bottom_8-bits_of_coefficients_A1
Reg[18h]=1eh ##Top_8-bits_of_coefficients_A2
Reg[19h]=5fh ##Middle_8-bits_of_coefficients_A2
Reg[1Ah]=8bh ##Bottom_8-bits_of_coefficients_A2
Reg[1Bh]=3ah ##Top_8-bits_of_coefficients_B1
Reg[1Ch]=f8h ##Middle_8-bits_of_coefficients_B1
Reg[1Dh]=4fh ##Bottom_8-bits_of_coefficients_B1
Reg[1Eh]=e1h ##Top_8-bits_of_coefficients_B2
Reg[1Fh]=25h ##Middle_8-bits_of_coefficients_B2
Reg[20h]=33h ##Bottom_8-bits_of_coefficients_B2
Reg[21h]=20h ##Top_8-bits_of_coefficients_A0
Reg[22h]=7bh ##Middle_8-bits_of_coefficients_A0
Reg[23h]=41h ##Bottom_8-bits_of_coefficients_A0
Reg[24h]=00h ##CfRW
Reg[25h]=00h ##Reserved
Reg[26h]=00h ##Reserved
Reg[27h]=3fh ##Reserved
Reg[28h]=00h ##Reserved
Reg[29h]=00h ##Reserved
Reg[2Ah]=6dh ##Power_saving_mode_switching_level
Reg[2Bh]=ffh ##Volume_fine_tune

#####################Ram_Table#######################
Coef[00h]=c01022h ##Channel_1_EQ1_A1 
Coef[01h]=1ff5aeh ##Channel_1_EQ1_A2 
Coef[02h]=3fefdeh ##Channel_1_EQ1_B1 
Coef[03h]=e00d7bh ##Channel_1_EQ1_B2 
Coef[04h]=1ffcd6h ##Channel_1_EQ1_A0 
Coef[05h]=c507b1h ##Channel_1_EQ2_A1 
Coef[06h]=1e5f8bh ##Channel_1_EQ2_A2 
Coef[07h]=3af84fh ##Channel_1_EQ2_B1 
Coef[08h]=e12533h ##Channel_1_EQ2_B2 
Coef[09h]=207b41h ##Channel_1_EQ2_A0 
Coef[0Ah]=c0ab10h ##Channel_1_EQ3_A1 
Coef[0Bh]=1f413eh ##Channel_1_EQ3_A2 
Coef[0Ch]=3f54f0h ##Channel_1_EQ3_B1 
Coef[0Dh]=e0a8e5h ##Channel_1_EQ3_B2 
Coef[0Eh]=2015ddh ##Channel_1_EQ3_A0 
Coef[0Fh]=c016f7h ##Channel_1_EQ4_A1 
Coef[10h]=1ff484h ##Channel_1_EQ4_A2 
Coef[11h]=3fe905h ##Channel_1_EQ4_B1 
Coef[12h]=e016f3h ##Channel_1_EQ4_B2 
Coef[13h]=1ff484h ##Channel_1_EQ4_A0 
Coef[14h]=c423d3h ##Channel_1_EQ5_A1 
Coef[15h]=1dce66h ##Channel_1_EQ5_A2 
Coef[16h]=3bdc2dh ##Channel_1_EQ5_B1 
Coef[17h]=e2f7a0h ##Channel_1_EQ5_B2 
Coef[18h]=1f39fah ##Channel_1_EQ5_A0 
Coef[19h]=c14bc5h ##Channel_1_EQ6_A1 
Coef[1Ah]=1e8471h ##Channel_1_EQ6_A2 
Coef[1Bh]=3eb43bh ##Channel_1_EQ6_B1 
Coef[1Ch]=e1432ch ##Channel_1_EQ6_B2 
Coef[1Dh]=203863h ##Channel_1_EQ6_A0 
Coef[1Eh]=cbf2e6h ##Channel_1_EQ7_A1 
Coef[1Fh]=1cc6fah ##Channel_1_EQ7_A2 
Coef[20h]=340d1ah ##Channel_1_EQ7_B1 
Coef[21h]=e4c594h ##Channel_1_EQ7_B2 
Coef[22h]=1e7372h ##Channel_1_EQ7_A0 
Coef[23h]=c2258dh ##Channel_1_EQ8_A1 
Coef[24h]=1e9f60h ##Channel_1_EQ8_A2 
Coef[25h]=3dda73h ##Channel_1_EQ8_B1 
Coef[26h]=e19cedh ##Channel_1_EQ8_B2 
Coef[27h]=1fc3b3h ##Channel_1_EQ8_A0 
Coef[28h]=000000h ##Channel_3_EQ1_A1 
Coef[29h]=000000h ##Channel_3_EQ1_A2 
Coef[2Ah]=000000h ##Channel_3_EQ1_B1 
Coef[2Bh]=000000h ##Channel_3_EQ1_B2 
Coef[2Ch]=200000h ##Channel_3_EQ1_A0 
Coef[2Dh]=000000h ##Channel_3_EQ3_A1 
Coef[2Eh]=000000h ##Channel_3_EQ3_A2 
Coef[2Fh]=000000h ##Channel_3_EQ3_B1 
Coef[30h]=000000h ##Channel_3_EQ3_B2 
Coef[31h]=200000h ##Channel_3_EQ3_A0 
Coef[32h]=000000h ##Channel_2_EQ1_A1 
Coef[33h]=000000h ##Channel_2_EQ1_A2 
Coef[34h]=000000h ##Channel_2_EQ1_B1 
Coef[35h]=000000h ##Channel_2_EQ1_B2 
Coef[36h]=200000h ##Channel_2_EQ1_A0 
Coef[37h]=000000h ##Channel_2_EQ2_A1 
Coef[38h]=000000h ##Channel_2_EQ2_A2 
Coef[39h]=000000h ##Channel_2_EQ2_B1 
Coef[3Ah]=000000h ##Channel_2_EQ2_B2 
Coef[3Bh]=200000h ##Channel_2_EQ2_A0 
Coef[3Ch]=000000h ##Channel_2_EQ3_A1 
Coef[3Dh]=000000h ##Channel_2_EQ3_A2 
Coef[3Eh]=000000h ##Channel_2_EQ3_B1 
Coef[3Fh]=000000h ##Channel_2_EQ3_B2 
Coef[40h]=200000h ##Channel_2_EQ3_A0 
Coef[41h]=000000h ##Channel_2_EQ4_A1 
Coef[42h]=000000h ##Channel_2_EQ4_A2 
Coef[43h]=000000h ##Channel_2_EQ4_B1 
Coef[44h]=000000h ##Channel_2_EQ4_B2 
Coef[45h]=200000h ##Channel_2_EQ4_A0 
Coef[46h]=000000h ##Channel_2_EQ5_A1 
Coef[47h]=000000h ##Channel_2_EQ5_A2 
Coef[48h]=000000h ##Channel_2_EQ5_B1 
Coef[49h]=000000h ##Channel_2_EQ5_B2 
Coef[4Ah]=200000h ##Channel_2_EQ5_A0 
Coef[4Bh]=000000h ##Channel_2_EQ6_A1 
Coef[4Ch]=000000h ##Channel_2_EQ6_A2 
Coef[4Dh]=000000h ##Channel_2_EQ6_B1 
Coef[4Eh]=000000h ##Channel_2_EQ6_B2 
Coef[4Fh]=200000h ##Channel_2_EQ6_A0 
Coef[50h]=000000h ##Channel_2_EQ7_A1 
Coef[51h]=000000h ##Channel_2_EQ7_A2 
Coef[52h]=000000h ##Channel_2_EQ7_B1 
Coef[53h]=000000h ##Channel_2_EQ7_B2 
Coef[54h]=200000h ##Channel_2_EQ7_A0 
Coef[55h]=000000h ##Channel_2_EQ8_A1 
Coef[56h]=000000h ##Channel_2_EQ8_A2 
Coef[57h]=000000h ##Channel_2_EQ8_B1 
Coef[58h]=000000h ##Channel_2_EQ8_B2 
Coef[59h]=200000h ##Channel_2_EQ8_A0 
Coef[5Ah]=000000h ##Channel_3_EQ2_A1 
Coef[5Bh]=000000h ##Channel_3_EQ2_A2 
Coef[5Ch]=000000h ##Channel_3_EQ2_B1 
Coef[5Dh]=000000h ##Channel_3_EQ2_B2 
Coef[5Eh]=200000h ##Channel_3_EQ2_A0 
Coef[5Fh]=000000h ##Channel_3_EQ4_A1 
Coef[60h]=000000h ##Channel_3_EQ4_A2 
Coef[61h]=000000h ##Channel_3_EQ4_B1 
Coef[62h]=000000h ##Channel_3_EQ4_B2 
Coef[63h]=200000h ##Channel_3_EQ4_A0 
Coef[64h]=7fffffh ##Channel-1_Mixer1
Coef[65h]=000000h ##Channel-1_Mixer2
Coef[66h]=000000h ##Channel-2_Mixer1
Coef[67h]=7fffffh ##Channel-2_Mixer2
Coef[68h]=400000h ##Channel-3_Mixer1
Coef[69h]=400000h ##Channel-3_Mixer2
Coef[6Ah]=7fffffh ##Channel-1_Prescale
Coef[6Bh]=7fffffh ##Channel-2_Prescale
Coef[6Ch]=7fffffh ##Channel-1_Postscale
Coef[6Dh]=7fffffh ##Channel-2_Postscale
Coef[6Eh]=7fffffh ##Channel-3_Postscale
Coef[6Fh]=200000h ##Channel1.2_Power_Clipping
Coef[70h]=200000h ##Channel-3_Power_Clipping
Coef[71h]=0243f2h ##CH1.2_DRC_Attack_threshold
Coef[72h]=022381h ##CH1.2_DRC_Release_threshold
Coef[73h]=200000h ##CH3_DRC_Attack_threshold
Coef[74h]=200000h ##CH3_DRC_Release_threshold
Coef[75h]=00001ah ##NGAL
Coef[76h]=000053h ##NGRL
Coef[77h]=008000h ##CH1.2_DRC_EC
Coef[78h]=002000h ##CH3_DRC_EC
Coef[79h]=c7b691h ##SRS_HPFA0
Coef[7ah]=38496eh ##SRS_HPFA1
Coef[7bh]=0c46f8h ##SRS_HPFB1
Coef[7ch]=0e81b9h ##SRS_LPFA0
Coef[7dh]=f22c12h ##SRS_LPFA1
Coef[7eh]=0fcabbh ##SRS_LPFB1

######################EQ_Mode########################
1a ##Normal_mode
53 ##Rock_mode
8000 ##Jazz_mode
2000 ##Classic_mode
c7b691 ##Pop_mode

######################Filters########################
Filter_number-0:Flat,1:Peak,2:HighPass,3:Lowpass,4:HighShelf,5:Lowshelf,6:APF

1.0 ##Channel1_EQ1_Filter
275.0 ##Channel1_EQ1_Frequency
-5.4 ##Channel1_EQ1_Gain
15.0 ##Channel1_EQ1_Q
1.0 ##Channel1_EQ2_Filter
5400.0 ##Channel1_EQ2_Frequency
5.3 ##Channel1_EQ2_Gain
7.0 ##Channel1_EQ2_Q
1.0 ##Channel1_EQ3_Filter
250.0 ##Channel1_EQ3_Frequency
2.0 ##Channel1_EQ3_Gain
0.7 ##Channel1_EQ3_Q
2.0 ##Channel1_EQ4_Filter
30.0 ##Channel1_EQ4_Frequency
0.0 ##Channel1_EQ4_Gain
0.7 ##Channel1_EQ4_Q
1.0 ##Channel1_EQ5_Filter
3000.0 ##Channel1_EQ5_Frequency
-6.4 ##Channel1_EQ5_Gain
2.9 ##Channel1_EQ5_Q
1.0 ##Channel1_EQ6_Filter
500.0 ##Channel1_EQ6_Frequency
2.7 ##Channel1_EQ6_Gain
0.7 ##Channel1_EQ6_Q
1.0 ##Channel1_EQ7_Filter
7600.0 ##Channel1_EQ7_Frequency
-9.1 ##Channel1_EQ7_Gain
5.0 ##Channel1_EQ7_Q
1.0 ##Channel1_EQ8_Filter
2000.0 ##Channel1_EQ8_Frequency
-3.0 ##Channel1_EQ8_Gain
3.0 ##Channel1_EQ8_Q
0.0 ##Channel3_EQ1_Filter
2000.0 ##Channel3_EQ1_Frequency
0.0 ##Channel3_EQ1_Gain
0.7 ##Channel3_EQ1_Q
0.0 ##Channel3_EQ3_Filter
2000.0 ##Channel3_EQ3_Frequency
0.0 ##Channel3_EQ3_Gain
0.7 ##Channel3_EQ3_Q
0.0 ##Channe2_EQ1_Filter
2000.0 ##Channe2_EQ1_Frequency
0.0 ##Channe2_EQ1_Gain
0.7 ##Channe2_EQ1_Q
0.0 ##Channe2_EQ2_Filter
2000.0 ##Channe2_EQ2_Frequency
0.0 ##Channe2_EQ2_Gain
0.7 ##Channe2_EQ2_Q
0.0 ##Channe2_EQ3_Filter
2000.0 ##Channe2_EQ3_Frequency
0.0 ##Channe2_EQ3_Gain
0.7 ##Channe2_EQ3_Q
0.0 ##Channe2_EQ4_Filter
2000.0 ##Channe2_EQ4_Frequency
0.0 ##Channe2_EQ4_Gain
0.7 ##Channe2_EQ4_Q
0.0 ##Channe2_EQ5_Filter
2000.0 ##Channe2_EQ5_Frequency
0.0 ##Channe2_EQ5_Gain
0.7 ##Channe2_EQ5_Q
0.0 ##Channe2_EQ6_Filter
2000.0 ##Channe2_EQ6_Frequency
0.0 ##Channe2_EQ6_Gain
0.7 ##Channe2_EQ6_Q
0.0 ##Channe2_EQ7_Filter
2000.0 ##Channe2_EQ7_Frequency
0.0 ##Channe2_EQ7_Gain
0.7 ##Channe2_EQ7_Q
0.0 ##Channe2_EQ8_Filter
2000.0 ##Channe2_EQ8_Frequency
0.0 ##Channe2_EQ8_Gain
0.7 ##Channe2_EQ8_Q
0.0 ##Channe3_EQ2_Filter
2000.0 ##Channe3_EQ2_Frequency
0.0 ##Channe3_EQ2_Gain
0.7 ##Channe3_EQ2_Q
0.0 ##Channe3_EQ4_Filter
10000.0 ##Channe3_EQ4_Frequency
-3.0 ##Channe3_EQ4_Gain
3.0 ##Channe3_EQ4_Q

######################_SRS_########################
4000 ##HPF_Freq 
200 ##LPF_Freq 
12.000 ##HPF_Gain 
8.500 ##LPF_Gain1 
-1.000 ##LPF_Gain2 
