?? servocmd.c
字號:
/* Copyright 1998-1999, ESS Technology, Inc. *//* SCCSID @(#)servocmd.c 1.7 11/20/98 *//* * $Log$ */#ifdef TCSERVOunsigned int TINIT_9432[] ={#ifdef DAYTONA 0x90c5, 0x91B0, 0x9200, 0x93FF, /* 9xxx 9170->9130 */ 0x9600, 0x9702, 0x9905, 0x9b6c, 0x9c4a, 0x9d00, 0x9e00, /*0x9f00,*/ 0xd480, /* Dxxx */ 0xe070, 0xe122, /* Exxx */ 0xe46c, 0xe5e2, 0xe631, 0xe700, 0xe8cc, 0xea0f, 0xeb00, 0xec08, 0xed00, 0xee09, 0xef00,#else 0x909F, 0x9170, 0x9200, 0x9380, 0x9600, 0x9702, 0x9935, 0x9B4C, /* 9B4C */ 0x9C48, /* 0x9C48 */ 0x9D00, 0x9E04, 0x9F00, 0xE070, 0xE841, 0xEAff, 0xeb00, 0xEC88, /* 0xEC48 */ 0xED08, 0xEE09, 0xEF00,#endif 0x0000};unsigned int TINIT9296EQ[] ={ /* address name KS-213 */#ifdef DAYTONA 0x07ff,0x0828,0x0700,0x0000, /* F0X xxx */ 0x0000,0x0020,0x0030,0x000c, 0x07fa,0x0030,0x0400,0x0080, 0x0100,0x0080,0x07d2,0x02e0, 0x07ff,0x082f,0x0685,0x0000, /* F1X xxx */ 0x0000,0x0090,0x0090,0x0010, 0x07fa,0x0050,0x0200,0x0700, 0x0800,0x07fd,0x0400,0x0020, 0x07ff,0x0825,0x0620,0x0000, /* F2X xxx */ 0x0000,0x00e0,0x00f0,0x000b, 0x07fa,0x0056,0x0000,0x0000, 0x0008,0x0080,0x07d2,0x02e0, 0x07ff,0x0825,0x0620,0x0000, /* F3X xxx */ 0x0000,0x00e0,0x00f0,0x000b, 0x07fa,0x0056,0x0222,0x07f1, 0x0030,0x07fc,0x0b8f,0x0485, 0x0fe0,0x0600,0x0080,0x0100, /* F4X xxx */ 0x0000,0x0044,0x06f0,0x0044, 0x06f0,0x0050,0x07c6,0x02e0, 0x07ff,0x07fe,0x0800,0x0400, 0x00f6,0x0800,0x00cd,0x0740, /* F5X xxx */ 0x0800,0x0740,0x0fc0,0x0100, 0x0200,0x0c00,0x0fc0,0x0010, 0x0f73,0x0773,0x0040,0x0040, 0x03e0,0x0fc0,0x0a00,0x0010, /* F6X xxx */ 0x0780,0x0038,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000, 0x0000,0x0000,0x0008,0x0020, 0x0000,0x0000,0x0800,0x0800, /* F7X xxx */ 0x0400,0x0c00,0x0200,0x0200, 0x0400,0x0200,0x0150,0x0100, 0x0200,0x0048,0x00c0,0x00d0, 0x0100,0x0040,0x0fe0 /* F8X xxx */#else 0x7ff, /* 00 kt10 0x7ff */ 0x82e, /* 01 kt11 0x82e */ 0x6e0, /* 02 kt12 0x6e0 */ 0x000, /* 03 kt13 */ 0x000, /* 04 kt14 */ 0x008, /* 05 kt15 0x008 */ 0x00B, /* 06 kt16 0x00b */ 0x003, /* 07 kt17 */ 0x7fe, /* 08 kt18 */ 0x006, /* 09 kt19 */ 0x400, /* 0A kt1A */ 0x080, /* 0B kt1B */ 0x100, /* 0C kt00 0x100 */ 0x080, /* 0D kt30 */ 0x7d2, /* 0E kt31 0x0300 */ 0x2e0, /* 0F kt32 */ 0x7FF, /* 10 ktu10 0x7FF, */ 0x82e, /* 11 ktu11 0x82e, */ 0x660, /* 12 ktu12 0x660, */ 0x000, /* 13 ktu13 */ 0x000, /* 14 ktu14 */ 0x020, /* 15 ktu15 0x020 */ 0x02A, /* 16 ktu16 0x02a */ 0x003, /* 17 ktu17 0x003 */ 0x7fe, /* 18 ktu18 0x7fe */ 0x006, /* 19 ktu19 0x006 */ 0x200, /* 1a kt40 0x01D0 */ 0x700, /* 1b kt41 */ 0x800, /* 1c kt42 */ 0x7fd, /* 1d kt43 */ 0x400, /* 1e kt44 */ 0x020, /* 1f kf00 */ 0x7ff, /* 20 kf11 */ 0x81e, /* 21 kf12 */ 0x663, /* 22 kf13 */ 0x000, /* 23 kf14 */ 0x000, /* 24 kf15 */ 0x100, /* 25 kf16, 0x120 */ 0x100, /* 26 kf17, 0x120 */ 0x00b, /* 27 kf10 */ 0x7fa, /* 28 kf18 */ 0x054, /* 29 kf29, 0x044 */ 0x000, /* 2a kf1c */ 0x000, /* 2b kf1d */ 0x008, /* 2c kf1a, 0x008 */ 0x080, /* 2d kf30,0x080 */ 0x7d2, /* 2e kf31,0x7d2 */ 0x2e0, /* 2f kf32,0x2e0 */ 0x7ff, /* 30 kfu10 */ 0x81e, /* 31 kfu11 */ 0x663, /* 32 kfu12 */ 0x000, /* 33 kfu13 */ 0x000, /* 34 kfu14 */ 0x120, /* 35 kfu15 */ 0x120, /* 36 kfu16 */ 0x00b, /* 37 kfu17 */ 0x7fa, /* 38 kfu18 */ 0x044, /* 39 kfu19 */ 0x222, /* 3a km10 */ 0x7f1, /* 3b km11 */ 0x030, /* 3c km12 */ 0x7fc, /* 3d km13 0x7fc */ 0xb8f, /* 3e km14 0x82b */ 0x485, /* 3f km15,0x7f6 */ 0xfe0, /* 40 km16 */ 0x600, /* 41 kd10 0x600 */ 0x080, /* 42 kd11 0x080 */ 0x100, /* 43 kd12 0x100 */ /* */ 0x000, /* 44 kd14 */ 0x040, /* 45 kt20, 0x043 */ 0x6A0, /* 46 kt21, 0x6f0 */ 0x040, /* 47 kf20 0x044 */ 0x6A0, /* 48 kf21, 0x6f0 */ 0x050, /* 49 ks10 */ 0x7c6, /* 4a ks11 */ 0x2e0, /* 4b ks12 */ 0x7ff, /* 4c kf40 */ 0x7fe, /* 4d kf41 */ 0x800, /* 4e kf42 */ 0x400, /* 4f ks20 */ 0x0f6, /* 50 ks21 */ 0x800, /* 51 ks22 */ 0x0cd, /* 52 klg10 */ 0x740, /* 53 klg11 */ 0x800, /* 54 klg12 */ 0x740, /* 55 klg13 */ 0xFD0, /* 56 klg14, 0xfc0 */ 0x100, /* 57 kfb10 */ 0x200, /* 58 kfb11 */ 0xc00, /* 59 kfb12 */ 0xfc0, /* 5a kfb13 */ 0x010, /* 5b ktb14 */ 0xf73, /* 5c kof */ 0x773, /* 5d k#0 */ 0x040, /* 5e ktb12 */ 0x040, /* 5f krg10 0x040 */ 0x3ff, /* 60 krg11 0x3e0 */ 0xFC0, /* 61 krg12 0xfc0 */ 0xa00, /* 62 krg13 0xa00 */ 0x010, /* 63 kv10 */ 0x780, /* 64 kv11 */ 0x038, /* 65 kv12 */ 0x000, /* 66 kv13 */ 0x000, /* 67 kv14 */ /* */ 0x000, /* 68 kv20 */ 0x000, /* 69 kv21 */ 0x000, /* 6a kv22 */ 0x000, /* 6b kv23 */ 0x000, /* 6c kv24 */ 0x000, /* 6d kv25 */ 0x008, /* 6e ZCSE */ 0x020, /* 6f */ 0x000, /* 70 klg15 */ 0x000, /* 71 klg15 */ 0x800, /* 72 kfb10 */ 0x800, /* 73 kfb10 */ 0x400, /* 74 kfb11 */ 0xc00, /* 75 kfb20 */ 0x200, /* 0x200, F76xxx, RF decision level */ 0x120, /* 0x200, F77xxx, tracking limit level */ 0x800, /* 0x400, F78xxx, feed dead band window level */ 0x140, /* 0x200, F79xxx, focus stand-by level */ 0x280, /* 0x280, F7Axxx, Shock detection level */ 0x180, /* 0x180, F7Bxxx, Black dot detection level */ 0x200, /* 0x200, F7Cxxx, Focus OK level */ 0x088, /* 0x048, F7Dxxx, RF amplitude adjustment level */ 0x088, /* 0x120, F7Exxx, 0x080, Set the phase at closed loop phase characteristics of focus and tracking servo */ 0x000 /* 7f k#1 */#endif};unsigned int AMinuteTrack[] ={ 0, 451, 891, 1319, 1736, 2144, 2543, 2933, 3315,3689, 4056, 4417, 4771, 5119, 5462, 5799, 6131, 6457, 6779,7097, 7410, 7719, 8023, 8324, 8621, 8915, 9205, 9492, 9776,10056, 10333,10608,10879,11148,11414,11678,11939,12198,12454,12708, 12959,13209,13456,13701,13945,14186,14425,14663,14898,15132, 15364,15594,15823,16050,16275,16499,16721,16941,17161,17378, 17595,17810,18023,18235,18446,18656,18864,19071,19277,19481, 19685,19887,20088,20288,20487,20685,20881,21077,21272,21465, 21658};#else TCSERVO/*unsigned char mute_cmd[] = {0x0,0x3,0xa,0xff};*/unsigned char mute_cmd[] = {0x0,0x2,0xa,0xff};unsigned char unmute_cmd[]={0x0,0x0,0xa,0xff};unsigned char reset_cmd1[]={0x0,0x3,0xa,0xff};/*unsigned char focus_cmd1[]={0x0,0x0,0x0,0x4,0xff,0x0,0x0,0xff,0x5,0x5,0xff};*/unsigned char focus_cmd1[]={0x0,0x0,0x0,0x4,0xff,0x0,0x0,0xff,0xa,0x5,0xff};unsigned char focus_cmd11[]={0x0,0x0,0x0,0x8,0xff,0x0,0x0,0xa,0xff,0x0,0x6, 0xc,0xff,0x0,0x0,0x6,0xd,0xff};unsigned char focus_cmd2[]={0x0,0xb,0x9,0xff,0x0,0x0,0x7,0x4,0xff};unsigned char focus_cmd3[]={0x0,0x0,0x0,0x4,0xff};/* * unsigned char track_jump_time1[]={0x5,0x5,0xff}; */unsigned char track_jump_time16[]={0x7,0x5,0xff,0x0,0x1,0x6,0xff,0x8,0x0,0x0, 0x0,0x7,0xff};unsigned char track_jump_time32[]={0x7,0x5,0xff,0x0,0x1,0x6,0xff,0x0,0x1,0x0, 0x0,0x7,0xff};unsigned char track_jump_time64[]={0x7,0x5,0xff,0x0,0x1,0x6,0xff,0x0,0x2,0x0, 0x0,0x7,0xff};unsigned char track_jump_time128[]={0x7,0x5,0xff,0x0,0x2,0x6,0xff,0x0,0x4,0x0, 0x0,0x7,0xff};unsigned char track_jump_time240[]={0x8,0x5,0xff,0x0,0x4,0x6,0xff,0x0,0x8,0x0, 0x0,0x7,0xff};/* * unsigned char track_jump_in_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x8,0x4,0xff}; */unsigned char track_jump_in_cmd16[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd32[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd64[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd128[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};unsigned char track_jump_in_cmd240[]={0xc,0x1,0xff,0x0,0x0,0xc,0x4,0xff};/* * unsigned char track_jump_out_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x9,0x4,0xff}; */unsigned char track_jump_out_cmd16[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd32[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd64[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd128[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_out_cmd240[]={0xc,0x1,0xff,0x0,0x0,0xd,0x4,0xff};unsigned char track_jump_cancelcmd[]={0x0,0x0,0x0,0x4,0xff,0x8,0x1,0xff,0x8, 0x0,0xff,0x5,0x2,0xff};unsigned char clvon_cmd1[]={0x0,0x0,0x8,0xe,0xff};unsigned char clvon_cmd2[]={0x00,0x0,0x6,0xe,0xff,0x4,0x2,0xff,0x8,0x1,0xff};unsigned char clvon_cmd3[]={0x5,0x2,0xff,0x8,0x0,0xff,0x8,0x1,0xff};unsigned char stop_cmd1[]={0x4,0x2,0xff,0x0,0x0,0xa,0xe,0xff};unsigned char stop_cmd2[]={0x0,0x0,0x0,0x4,0xff,0x0,0x0,0x0,0xe,0xff,0x0,0x2, 0xff,0x0,0x0,0xff};/* * unsigned char sled_in[]={0x3,0x2,0xff}; * unsigned char sled_out[]={0x2,0x2,0xff}; * unsigned char sled_stop[]={0x0,0x2,0xff}; * unsigned char test_cmd1[]={0x8,0x1,0xff}; */#ifdef CMDINROMunsigned char track_jump_time1[]={0x5,0x5,0xff};unsigned char track_jump_in_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x8,0x4,0xff};unsigned char track_jump_out_cmd1[]={0xc,0x1,0xff,0x0,0x0,0x9,0x4,0xff};unsigned char sled_in[]={0x3,0x2,0xff};unsigned char sled_out[]={0x2,0x2,0xff};unsigned char sled_stop[]={0x0,0x2,0xff};unsigned char test_cmd1[]={0x8,0x1,0xff};#endif CMDINROM#endif TCSERVO
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -