misctbl.c
来自「ESS3890+SL原代码(1*16内存)」· C语言 代码 · 共 2,135 行 · 第 1/4 页
C
2,135 行
#ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001445, 0xe00046, 0x014447, 0x080049, 0x00af4b, 0x011f4d, 0x06724e, 0x000000 #endif /* SONY_213Q */ #ifdef SAMSUNG_B31 0xa600f2, 0x2001f2, 0xef02f2, 0xf803f2, 0xa604f2, 0x2005f2, 0x0206f2, 0x0007f2, 0x3616f2, 0x3517f2, 0xa62df2, 0x102ef2, 0x9635f2, 0x1036f2, 0x0019f2, /*vibration*/ 0x7808f2, 0x2609f2, 0x770af2, 0x280bf2, 0x760cf2, 0x220df2, 0x770ef2, 0x280ff2, 0x0010f2, /*vibration*/ 0xac11f2, 0xaa15f2, 0x4d7bf2, 0x8d12f2, 0x0813f2, 0x4414f2, 0x281ef2, 0x604af2, 0x3c18f2, 0x161cf2, 0x321df2, 0x707cf2, 0x4261f2, 0x081af2, 0x164bf2, 0x3078f2, 0x3a7af2, 0x0149f2, 0x021bf2, 0x3579f2, 0x181ff2, 0xff39f2, 0x103af2, 0x803bf2, 0x603cf2, /*focus gain*/ 0xff3df2, 0x103ef2, 0x803ff2, 0x4040f2, /*tracking gain */ 0x000041, #ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001445, 0xe00046, 0x414447, 0x080049, 0x00af4b, 0x011f4d, 0x06704e, 0x000000 #endif /* SAMSUNG_B31 */#ifdef CHINA_C13 0xd800f2, 0x2001f2, 0xf902f2, 0x0103f2, 0xee04f2, 0x2005f2, 0x0006f2, 0x0707f2, 0x7908f2, 0x4009f2, 0x780af2, 0x200bf2, 0x790cf2, 0x200df2, 0x770ef2, 0x200ff2, 0x0010f2, 0xa411f2, 0x8912F2, 0x8813f2, 0x4c14f2, 0xaa15f2, 0x4416f2, 0x2a17f2, 0x3c18f2, 0x0019f2, 0x381af2, 0x021bf2, 0x2c1cf2, 0x2c1df2, 0x281ef2, 0x101ff2, 0xe12df2, 0x102ef2, 0xa635f2, 0x2036f2, 0xff39f2, 0x103af2, 0x803bf2, 0x403cf2, 0xff3df2, 0x103ef2, 0x803ff2, 0x8040f2, 0x0049f2, 0x644af2, 0x164bf2, 0x4261f2, 0x4078f2, 0x3f79f2, 0x407af2, 0x6d7bf2, 0x817cf2, 0x000041, 0xcccf43, 0x001445, 0xe00046, 0x014447, 0x080049, 0x00df4b, 0x011b4d, 0x06704e, 0x000000 #endif /* CHINA_C13 */#ifdef SAMSUNG_B33 0xa600f2, 0x1001f2, 0xef02f2, 0xf803f2, 0xe604f2, 0x2005f2, 0x0206f2, 0x0007f2, 0x3616f2, 0x3517f2, 0xe12df2, 0x102ef2, 0xe635f2, 0x2036f2, 0x0019f2, 0x7608f2, 0x2609f2, 0x770af2, 0x280bf2, 0x780cf2, 0x220df2, 0x770ef2, 0x280ff2, 0x0010f2, 0xac11f2, 0xaa15f2, 0x4d7bf2, 0x8d12f2, 0x0813f2, 0x4214f2, 0x281ef2, 0x684af2, 0x3c18f2, 0x101cf2, 0x321df2, 0x797cf2, 0x4261f2, 0x381af2, 0x164bf2, 0x3078f2, 0x3a7af2, 0x0149f2, 0x051bf2, 0x3579f2, 0x301ff2, 0xff39f2, 0x103af2, 0x803bf2, 0x403cf2, 0xff3df2, 0x103ef2, 0x803ff2, 0x4040f2, 0x000041, 0x0081f2,#ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001445, 0xe00046, 0x014447, 0x090049, 0x00af4b, 0x011f4d, 0x06704e, 0x000000 #endif /* SAMSUNG_B33 */#endif /* AN22002 */#ifdef AN8849#ifdef SAMSUNG_B31 /* R80=27k,R74=820R,R76=1.2K,R75=560R,C59=180P,R72=R73=5.6k, c75=180p double*/ 0x8600f2, 0x2001f2, 0xef02f2, 0xf803f2, 0xa604f2, 0x2005f2, 0x0206f2, 0x0007f2, 0x3616f2, 0x3517f2, 0xe62df2, 0x202ef2, 0xa635f2, 0x1036f2, 0x0019f2, /*vibration*/ 0x7808f2, 0x2609f2, 0x780af2, 0x280bf2, 0x760cf2, 0x220df2, 0x770ef2, 0x280ff2, 0x0010f2, /*vibration*/ 0xac11f2, 0xaa15f2, 0x4d7bf2, 0x8d12f2, 0x0813f2, 0x4414f2, 0x281ef2, 0x604af2, 0x3c18f2, 0x161cf2, 0x321df2, 0x707cf2, 0x4261f2, 0x381af2, 0x164bf2, 0x3078f2, 0x3a7af2, 0x0149f2, 0x021bf2, 0x3579f2, 0x181ff2, 0xff39f2, 0x103af2, 0x803bf2, 0x603cf2, /*focus gain*/ 0xff3df2, 0x103ef2, 0x803ff2, 0x4040f2, /*tracking gain */ 0x000041, 0x0081f2, /*Add*/#ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001445, 0xe00046, 0x414447, 0x080049, 0x00af4b, 0x01144d, 0x06704e, 0x000000 #endif /* SAMSUNG_B31 */ #ifdef SONY_213C 0xa600f2, 0x1001f2, 0xef02f2, 0xf803f2, 0xa604f2, 0x2005f2, 0x0206f2, 0x0007f2, 0x3616f2, 0x3517f2, 0xa62df2, 0x102ef2, 0x9635f2, 0x1036f2, 0x0019f2, /*vibration*/ 0x7808f2, 0x2609f2, 0x770af2, 0x280bf2, 0x760cf2, 0x220df2, 0x770ef2, 0x280ff2, 0x0010f2, /*vibration*/ 0xac11f2, 0xaa15f2, 0x4d7bf2, 0x8d12f2, 0x0813f2, 0x4414f2, 0x281ef2, 0x604af2, 0x3818f2, 0x161cf2, 0x321df2, 0x707cf2, 0x4261f2, 0x081af2, 0x164bf2, 0x3078f2, 0x3a7af2, 0x0149f2, 0x041bf2, 0x3579f2, 0x181ff2, 0xff39f2, 0x103af2, 0x803bf2, 0x603cf2, /*focus gain*/ 0xff3df2, 0x103ef2, 0x803ff2, 0x4040f2, /*tracking gain */ 0x000041, #ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001445, 0xe00046, 0x414447, 0x080049, 0x00af4b, 0x011f4d, 0x06704e, 0x000000#endif /* SONY_213C */ #ifdef SANYO_DA11 0xa000f2,0x2001f2,0xda02f2,0x0103f2,0x8004f2, 0x4005f2,0x0006f2,0xfd07f2,0x7808f2,0x2009f2, 0x7a0af2,0x200bf2,0x780cf2,0x200df2,0x7a0ef2, 0x200ff2,0x0010f2,0x8011f2,0x8912f2,0x8113f2, 0x4414f2,0x6a15f2,0x5516f2,0x5517f2,0x3c18f2, 0x0019f2,0x071af2,0x021bf2,0x201cf2,0x301df2, 0xa81ef2,0x181ff2,0xa02df2,0x202ef2,0x8035f2, 0x4036f2,0xff39f2,0x103af2,0x803bf2,0x403cf2, 0xff3df2,0x103ef2,0x803ff2,0x8040f2,0x0149f2, 0x604af2,0x174bf2,0x4261f2,0x3078f2,0x5079f2, 0x357af2,0x607bf2,0x817cf2,#ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001045, 0x0c0046,0x504447,0x100049,0x00804b,0x00104d, 0x06704e,0x000000#endif /* SANYO_DA11 */ #ifdef SAMSUNG_B33 /* R80=27k,R83=39k,c72=390p,R74=820R,R76=1.2K,R75=560R,C59=180P,R72=R73=5.6k, c75=180p double*/ 0x5500f2, 0x1001f2, 0xef02f2, 0xf803f2, 0x6004f2, 0x1005f2, 0x0206f2, 0x0007f2, 0x3616f2, 0x3517f2, 0xa62df2, 0x102ef2, 0xa635f2, 0x1036f2, 0x0019f2, /*vibration*/ 0x7708f2, 0x2609f2, 0x760af2, 0x280bf2, 0x760cf2, 0x220df2, 0x760ef2, 0x280ff2, 0x0010f2, /*vibration*/ 0xad11f2, 0xaa15f2, 0x4d7bf2, 0x8d12f2, 0x0813f2, 0x4414f2, 0x281ef2, 0x604af2, 0x3818f2, 0x161cf2, 0x321df2, 0x707cf2, 0x4261f2, 0x381af2, 0x164bf2, 0x3078f2, 0x3a7af2, 0x0149f2, 0x041bf2, 0x3579f2, 0x301ff2, 0xff39f2, 0x103af2, 0x803bf2, 0x603cf2, /*focus gain*/ 0xff3df2, 0x103ef2, 0x803ff2, 0x4040f2, /*tracking gain */ 0x000041, #ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001445, 0xe00046, 0x414447, 0x080049, 0x00af4b, 0x01144d, 0x06704e, 0x000000 #endif /* SAMSUNG_B33 */#ifdef SONY_213Q /*R85=820R,R88=1.2K,R86=560R,C75=180P,R93=22K,C91=270P(single)*/ 0xa600f2, 0x2001f2, 0xef02f2, 0xf803f2, 0x8604f2, 0x1005f2, 0x0206f2, 0x0007f2, 0x3616f2, 0x3517f2, 0xa62df2, 0x102ef2, 0xa635f2, 0x1036f2, 0x0019f2, /*vibration*/ 0x7808f2, 0x2609f2, 0x770af2, 0x280bf2, 0x780cf2, 0x220df2, 0x770ef2, 0x280ff2, 0x0010f2, /*vibration*/ 0xad11f2, 0xaa15f2, 0x4d7bf2, 0x8d12f2, 0x0813f2, 0x4414f2, 0x281ef2, 0x604af2, 0x3818f2, 0x161cf2, 0x381df2, 0x707cf2, 0x4261f2, 0x081af2, 0x164bf2, 0x3078f2, 0x3a7af2, 0x0149f2, 0x041bf2, 0x3579f2, 0x301ff2, 0xff39f2, 0x103af2, 0x803bf2, 0x603cf2, /*focus gain*/ 0xff3df2, 0x103ef2, 0x803ff2, 0x4040f2, /*tracking gain */ 0x000041, #ifndef CTRL_UND 0xcccf43,#else 0xccce43,#endif 0x001445, 0xe00046, 0x414447, 0x080049, 0x00af4b, 0x01174d, 0x06704e, 0x000000 #endif /* SONY_213Q */ #ifdef CHINA_C13 0xd800f2, 0x2001f2, 0xf902f2, 0x0103f2, 0xee04f2, 0x2005f2, 0x0006f2, 0x0707f2, 0x7908f2, 0x4009f2, 0x780af2, 0x200bf2, 0x790cf2, 0x200df2, 0x770ef2, 0x200ff2, 0x0010f2, 0xa411f2, 0x8912f2, 0x8813f2, 0x4c14f2, 0xaa15f2, 0x4416f2, 0x2a17f2, 0x3c18f2, 0x0019f2, 0x381af2, 0x021bf2, 0x2c1cf2, 0x2c1df2, 0x281ef2, 0x101ff2, 0xe12df2, 0x102ef2, 0xa635f2, 0x2036f2, 0xff39f2, 0x103af2, 0x803bf2, 0x403cf2, 0xff3df2, 0x103ef2, 0x803ff2, 0x8040f2, 0x0049f2, 0x644af2, 0x164bf2, 0x4261f2, 0x4078f2, 0x3f79f2, 0x407af2, 0x6d7bf2, 0x817cf2, 0x000041, 0xcccf43, 0x001445, 0xe00046, 0x014447, 0x080049, 0x00df4b, 0x011b4d, 0x06704e, 0x000000 #endif /* CHINA_C13 */#endif /* AN8849 */};#endif /* MSERVO..Ken 072199 */#ifdef SAM_SRV /* Ye */#define EFM_PEAKING2 0x40 /*0x40 : on ,0x00: off*//**************************************************************************** * COMMAND TABLES ****************************************************************************//*some spec. functions for ssp or dsp*/unsigned short feb_tst_set[] = { 0x3280, 0x5287+EFM_PEAKING2, 0x87b0, 0x83fc, 0x517c, 0x7000, 0xffff};unsigned short rwtst_st[] = { 0x31f8, 0x517b, 0x83fd,/* FOK */ 0x84c0, 0x8110, 0xffff};unsigned short rwtst_end[] = { 0x00, 0x83fc, 0x8400, 0xffff};unsigned short fset_tst_set[] = { 0x00, 0x514b, 0x0c, 0x8670, 0x86f0, /*0x8421,*/ 0xffff};unsigned short rw_set[] = { 0x8d48, 0x8280, 0xffff};unsigned short tsrv_tst_set[] = { 0x00, 0x83fc, 0x515b, 0x8440,/*0x8400*/ 0x24, 0x8010, 0x811f, 0xffff};unsigned short sstop_set[] = { 0x51bb, 0x3640+0x00, 0xffff};unsigned short sstop_rst[] = { 0x517b, 0x3440+0x00, 0xffff};/**************************************************************************** * sub functions for clv control! ****************************************************************************/unsigned short tbal_cntl_set[] = {#if 0 0x22,#endif 0x83fc, 0x515b, 0x0c, 0x8112, 0x8400, 0xffff};unsigned short tgain_cntl_set[] = { 0x20, 0x83fc, 0x515b, 0x0c,#if 0 0x8480,#else 0x8400,#endif 0xffff};unsigned short play_set[] = { 0x8378,/*0x8378,*/ 0x87c0,/*0x87c0,*/ 0x86f0,/*0x8690,*/ 0x517a,/*0x517b,*/ 0x8440,/*0x8480,*/ 0x3440+0x00, 0x9906,/*clv auto mode*/ #if 0 0x5287,#endif 0xffff};/*-------------------------------------------------*/unsigned short before_sch[] = { 0x40,/*auto seq off*/ /*0x17,*/ 0x0c, 0x25,/*sled_srv_on*/#if 0 0x8806,/*normal PLL*/ 0x9400,#endif 0xffff};#if 0unsigned short before_sch1[] = { 0x40,/*auto seq off*/ 0x18, 0x0c, 0x25,/*sled_srv_on*/ 0xffff};#endifunsigned short after_sch[] = { 0x40,/*auto seq off*/ 0x3440+0x00, 0x0c, 0x25, 0x18,/*sled_srv_on*/#if 0 0x8886,/*wide PLL*/ 0x9409,#endif 0xffff};unsigned short svoff[] = { 0x00, 0x40,/*auto seq off*/ 0x20, 0x17, 0x9900,/*clv_off*/ 0xffff};/*ssp_rf init command*/unsigned short ssp_rf_ini[] = { 0x5100, /*reset bal , gain*/ 0x83be, 0x8ea9,/*0x8e89,*//*0x8e89,*//*0x8ead,*//*0x8ef6,*/ 0x8670, 0x86f0, 0x87b0, 0x87e0, 0xffff};unsigned short cd_dsp_ini[] = { /* cd - dsp */ 0x8806,/*0x8802,*/ 0x8d48, 0x895f, 0x90a9,/*0x9021,*/ 0x914c, 0x914c, 0x92c8,/*0x92d8,*/ 0x9321, 0x9400,/*40,*/ 0x9801, /*0x9a80,*/ 0x9b05, 0x9d80, 0x9e02, 0x9f40, 0xa980,/*cd-G out*/ 0xb001,/*use 9290 DAC*/ 0xffff};/* cntl_ini */unsigned short cntl_ini[] = { 0x8012, 0x8112, 0x8277,/*0x8266,/*0x8266,0x8276 , 8277*/ 0xffff};/*************************************************************************** * TABLE of S18DLY DATA * ***************************************************************************//*for discman s18delay need more time than big cd-mecha*/unsigned char S18DATA[] = {#if 0 0xc, /* 24ms (128TRK) */ 0x8, /* 16ms ( 64TRK) */ 0x4, /* 8ms ( 16TRK) */ 0x4 /* 8ms ( 1TRK) */#else 0x2, /* 10ms (128TRK) */ 0x2, /* 8ms ( 64TRK) */ 0x1, /* 4ms ( 16TRK) */ 0x1 /* 2ms ( 1TRK) */#endif};#endif /* SAM_SRV.. */#endif /* SERVO */#if !defined(TWO_FIELDS_OSD) && defined(EQUALIZER)uchar EQ_level2dbfont[13] = { FONT_EQ_DB0,FONT_EQ_DB1,FONT_EQ_DB2,FONT_EQ_DB3,FONT_EQ_DB4, FONT_EQ_DB5,FONT_EQ_DB6,FONT_EQ_DB7,FONT_EQ_DB8,FONT_EQ_DB9, FONT_EQ_DB10,FONT_EQ_DB11,FONT_EQ_DB12};uchar EQ_minus12_font[13] = { FONT_EQ_60,FONT_EQ__,FONT_EQ_150,FONT_EQ__,FONT_EQ_400,FONT_EQ_0, FONT_EQ_1K,FONT_EQ__,FONT_EQ_2K,FONT_EQ__,FONT_EQ_6K,FONT_EQ_1,FONT_EQ_5K};uchar EQ_settings[] = { /* Music environment effects..."12" == 0dB */ 15, 12, 12, 15, 12, 10, 12, /* studio */ 18, 15, 13, 6, 9, 10, 15, /* stadium */ 12, 13, 15, 15, 12, 12, 12, /* club */ 18, 14, 12, 15, 15, 13, 6, /* movie */ 12, 12, 12, 15, 15, 14, 12, /* church */ 18, 15, 13, 9, 9, 10, 12, /* hall */ 12, 12, 12, 12, 12, 12, 12, /* standard */ /* Music type effects. */ 18, 13, 8, 3, 8, 13, 18, /* classic */ 0, 6, 14, 18, 14, 6, 0, /* jazz */ 18, 14, 4, 2, 4, 14, 18, /* rock */ 16, 18, 14, 7, 4, 7, 12, /* pops */ 8, 10, 14, 18, 10, 6, 4, /* ballad */ 18, 14, 12, 6, 8, 10, 12, /* dance */};/* * EQ alpha and delay parameters: * * alpha : 32 > alpha[] > 0, larger value means lower decline. * * alpha[] * echo alpha calculation: alpha = ----------- * 32 * * * DAE_delay: 20 * 384 > DAE_delay[] > 0, multiple of 384, * larger value means longer delay. * * DAE_delay[] * Delay time calculation: Delay = -------------------- (s) * 44100 * * * index 0 1 2 3 4 5 * mode studio hall church stadium movie x * */char alpha[6] = {15, 14, 12, 10, 8, 5};short DAE_delay[6] = {14*384, 15 * 384, 16 * 384, 17 * 384, 18* 384, 19 * 384};#endif /* EQUALIZER *///#define B3Xunsigned short initial_table[]={/* jp_fw ,jp_tq ,vadc ,foc_p ,foc_i ,foc_g , ,rad p ,rad_i ,rad_g, */#ifdef B3X 0x150a,0x1800,0x0dab,0x41e9,0x4201,0x4784,0x4915,0x5170,0x5210,0x5598,0x5666,0x5738,0x0f13, /*init*/ 0x150a,0x1800,0x0dab,0x41e9,0x4201,0x4784,0x4915,0x5170,0x5210,0x5598,0x5666,0x5738,0x0f13, /*vcd mp3*/ 0x150a,0x1800,0x0daa,0x41c9,0x4201,0x4784,0x4915,0x5170,0x5210,0x5591,0x5666,0x5738,0x0f13, /*dvcd*/ #elif defined DA11 0x150a,0x1800,0x0dad,0x41a9,0x4202,0x47a0,0x4915,0x5190,0x5210,0x5580,0x5666,0x5738,0x0f13, 0x150a,0x1800,0x0dac,0x4129,0x4202,0x47c0,0x4915,0x5130,0x5210,0x5570,0x5666,0x5738,0x0f13, 0x150a,0x1800,0x0dad,0x41a9,0x4202,0x47a0,0x4915,0x5190,0x5210,0x5580,0x5666,0x5738,0x0f13,#else /*213x*/ 0x150a,0x1800,0x0dab,0x41e9,0x4201,0x4784,0x4915,0x5170,0x5210,0x5591,0x5666,0x5738,0x0f13, #ifdef XINDE_213 0x150a,0x1800,0x0dab,0x41e9,0x4201,0x4784,0x4915,0x5170,0x5210,0x5548,0x5666,0x5738,0x0f13, 0x150a,0x1800,0x0daa,0x4189,0x4201,0x47bb,0x4915,0x5170,0x5210,0x55cc,0x5666,0x5738,0x0f13, #else 0x150a,0x1800,0x0dab,0x41e9,0x4201,0x4784,0x4915,0x5170,0x5210,0x5548,0x5666,0x5738,0x0f13, 0x150a,0x1800,0x0daa,0x4189,0x4201,0x4778,0x4915,0x5170,0x5210,0x5591,0x5666,0x5738,0x0f13, #endif#endif};unsigned int special_disc[]={ };unsigned short special_par[]= { };
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?