⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t100data_ab.h

📁 TFT 驱动 T100DEMO程序.做protable DVD的朋友可以参考一下.
💻 H
字号:
#define EOT -1

#define LINE_LENGTH 30
#define MENU_START_ADDR         0x700

#define UD_LR   0xf4
#define UD_RL   0xc0
#define DU_LR   0x88
#define DU_RL   0x3c

#define BRIGHT          0x80
#define COLOR           0x80

#define TW100 	0x50
#define Y_INC   0x01
#define N_INC	0x00
//********************************************************************
//Gamma Table
//********************************************************************
char code GAMMAData[]={
TW100,39,
	0x93,1,
		0x00,
	0x94,34,N_INC,
		0x00,0x20,0x38,0x48,0x58,0x62,0x70,0x7c,
		0x88,0x90,0x98,0xa0,0xa8,0xad,0xb4,0xba,
		0xc0,0xc5,0xca,0xd0,0xd5,0xd9,0xdd,0xe1,
		0xe5,0xe9,0xed,0xf1,0xf4,0xf6,0xF8,0xfc,
		0xFF,
EOT
};
char code FilterData[]={
//
TW100,92,
	0x70,1,
		0x81,
	0x71,84,N_INC,
		//Vertical Filter Data output to register
		0x00,0x82,0x51,0x7A,0x71,0x72,0x91,0x6A,
		0xB1,0x62,0xD1,0x5A,0xF1,0x52,0x11,0x4B,
		0x31,0x43,0x51,0x3B,0x71,0x33,0x91,0x2B,
		0xB1,0x23,0xD1,0x1B,0xF1,0x13,0xE0,0x0B,
		//H fitler coef data
		0x00,0x00,0x04,0x00,0xE2,0x8B,0x11,0xC4,
		0x8B,0x11,0x86,0x8B,0x11,0x68,0x93,0x11,
		0x2A,0x93,0x32,0x0C,0x9B,0x32,0xCE,0x9A,
		0x32,0x90,0x9A,0x32,0x52,0x9A,0x52,0x14,
		0xA2,0x52,0xD6,0xA1,0x52,0x98,0xA1,0x72,
		0x58,0x99,0x93,0x1A,0x99,0x93,0xDC,0x98,
		//V16/H_16
		0x93,0x1E,0x04,
	0x70,1,
		0xB0,
EOT
};
char code TCONData[]={
//
TW100+2,25,
	0x20,23,Y_INC,
		0x21,0x7b,0x02,0x02,0x0c,0x02,0x02,0xf2,
		0x01,0x29,0x00,0x01,0x18,0x03,0x00,0x00,
		0x01,0xcd,0x01,0x35,0x00,0x06,
EOT
};
//
char code T100Init[]={
//////////////////////////////////////////////////////
TW100,139,
	0x00,33,Y_INC,
		0x00,0x00,0x00,0x00,0x2F,0x00,0x00,0xFF,0xFF,0xFF,0x60,0x60,0x60,0x20,0x00,0x00,
		0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x87,0x00,0xc0,0x00,0xFF,0x03,
	0x30,18,Y_INC,
		0x83,0x00,0x7F,0x3F,0x00,0x00,0x10,0x40,0x50,0x00,0x20,0x03,0x00,0x00,0x00,0x10,
		0x0a,
	0x60,14,Y_INC,
		0x01,0x8f,0x0f,0x0f,0x04,0x08,0xff,0x00,0x6c,BRIGHT,0x00,0x7F,COLOR,
	0x72,5,Y_INC,
		0xAA,0xBA,0x71,0x9C,
	0x84,3,Y_INC,
		0xF0,0x29,
	0x90,1,
		0x06,
	0x97,3,Y_INC,
		0x95,0xcc,
	0x9c,1,
		0x02,
	0xb0,17,Y_INC,
		0x7C,0x00,0x0F,0x00,0xE0,0x01,0xEA,0x00,0xEC,0x02,0x02,0x01,0x10,0x00,0x03,0x00,
	0xc1,3,Y_INC,
		0xc8,0x12,
	0xc8,4,Y_INC,
		0x15,0x02,0x03,
	0xdc,5,Y_INC,
		0xe0,0x01,0xea,0x00,
	0xE0,3,Y_INC,
		0x9d,0xf4,
	0xe8,1,
		0x11,
///////////////////////////////////////////
TW100+2,3,
	0xdf,1,
		0x0c,
///////////////////////////////////////////
TW100+4,63,
	0x00,29,Y_INC,
		0x33,0x00,0x4a,0x03,0xdd,0x32,0x0a,0x27,0x58,0x28,0x5c,0x02,0x67,0x07,0x00,0x01,
		0x27,0xb9,0x06,0x82,0x40,0x64,0x74,0xCB,0x2A,0x09,0x8a,0xcb,
	0x24,3,Y_INC,
		0xe9,0x0f,
	0x2e,5,Y_INC,
		0x8a,0x48,0x2e,0xc1,
	0x39,1,
		0x8A,
	0x3f,1,
		0x00,
	0x80,4,Y_INC,
		0x05,0x00,0x52,
	0xc0,3,Y_INC,
		0x14,0x01,
	0xe0,1,
		0x10,
EOT
};
char code CVBS2Data[]={
//
TW100,12,
	0x11,1,
		0x00,
	0x18,4,Y_INC,
		0x00,0x00,0x87,
	0x31,1,
		0x00,
TW100+4,6,
	0x07,1,
		0x22,
	0x3f,1,
		0x00,
EOT
};
char code CVBS3Data[]={
//
TW100,12,
	0x11,1,
		0x00,
	0x18,4,Y_INC,
		0x08,0x04,0x87,
	0x31,1,
		0x00,
TW100+4,6,
	0x07,1,
		0x22,
	0x3f,1,
		0x00,
EOT
};
char code CVBS4Data[]={
//
TW100,12,
	0x11,1,
		0x00,
	0x18,4,Y_INC,
		0x20,0x0c,0x87,
	0x31,1,
		0x00,
TW100+4,6,
	0x07,1,
		0x22,
	0x3f,1,
		0x00,
EOT
};
char code SVIDEOData[]={
//
TW100,12,
	0x11,1,
		0x05,
	0x18,4,Y_INC,
		0x00,0x07,0x87,
	0x31,1,
		0x00,//*/
TW100+4,9,
	0x07,1,
		0x27,
	0x0f,1,
		0x01,
	0x3f,1,
		0x04,
EOT
};
char code ITU656Data[]={
TW100,3,
	0x31,1,
		0x10,//*/
TW100+2,3,
	0xD3,1,
		0x02,
EOT
};
char code NTSC_FULLData[]={
//
TW100,45,
	0x70,1,
		0xB0,
	0x72,5,Y_INC,
		0xaa,0xBa,0x18,0x81,
	0x84,3,Y_INC,
		0x6b,0x28,
	0xb0,17,Y_INC,
		0x39,0x00,0x10,0x00,0xE0,0x01,0xEA,0x00,0x66,0x02,0x06,0x01,0x10,0x00,0x03,0x00,
	0xd8,9,Y_INC,
		0x00,0x00,0x00,0x00,0xe0,0x01,0xea,0x00,
TW100+2,3,
	0xDf,1,
		0x0c,
TW100+4,29,
	0x00,3,Y_INC,
		0x01,0x01,
	0x0c,1,
		0x8a,
	0x0f,1,
		0x01,
	0x18,5,Y_INC,
		0x21,0xf0,0x7c,0x1f,
	0x30,3,Y_INC,
		0x28,0x61,
	0x82,1,
		0x42,
	0x3c,1,
		0x00,
EOT
};
char code NTSC_43Data[]={
//
TW100,23,
	0x72,5,Y_INC,
		0xE3,0xF8,0xCF,0x7D,
	0x84,3,Y_INC,
		0x8E,0x28,
	0xd8,9,Y_INC,
		0x3C,0x00,0x00,0x00,0x68,0x01,0xEA,0x00,
EOT
};
char code PAL_FULLData[]={
//
//
TW100,42,
	0x72,5,Y_INC,
		0xAA,0xBA,0x71,0x9C,
	0x84,3,Y_INC,
		0xF0,0x29,
	0xb0,17,Y_INC,
		0x7C,0x00,0x0F,0x00,0xE0,0x01,0xEA,0x00,0xEC,0x02,0x02,0x01,0x10,0x00,0x03,0x00,
	0xd8,9,Y_INC,
		0x00,0x00,0x00,0x00,0xe0,0x01,0xea,0x00,
TW100+2,3,
	0xDf,1,
		0x0c,
TW100+4,29,
	0x00,3,Y_INC,
		0x33,0x00,
	0x0c,1,
		0x67,
	0x0f,1,
		0x01,
	0x18,5,Y_INC,
		0x2a,0x09,0x8a,0xcb,
	0x30,3,Y_INC,
		0x2E,0xC1,
	0x82,1,
		0x52,
	0x3c,1,
		0x05,
EOT
};
char code PAL_43Data[]={
//
TW100,23,
	0x72,5,Y_INC,
		0xE3,0xF8,0x29,0x99,
	0x84,3,Y_INC,
		0x12,0x2A,
	0xd8,9,Y_INC,
		0x3C,0x00,0x00,0x00,0x68,0x01,0xEA,0x00,
EOT
};
#ifdef OSD_EN
char code OSDInitData[]={
TW100,103,
0xa0,3,Y_INC,
0x00,0x18,
0xa2,3,Y_INC,
0x00,0x00,
0xa0,3,Y_INC,
0x01,0x00,
0xa0,3,Y_INC,
0x02,0xca,
0xa0,3,Y_INC,
0x03,0x20,
0xa0,3,Y_INC,
0x04,0x09,
0xa0,3,Y_INC,
0x05,0x38,
0xa0,3,Y_INC,
0x1E,0x38,
0xa0,3,Y_INC,
0x06,0x40,
0xa0,3,Y_INC,
0x07,0x00,
0xa0,3,Y_INC,
0x08,0x20,
0xa0,3,Y_INC,
0x09,0x01,
0xa0,3,Y_INC,
0x1C,0x87,
0xa0,1,
0x0e,
0xa1,33,N_INC,
	//0xGB, 0x0R
	0x00,0x00, //0
  	0x0f,0x00, //1 blue
  	0x00,0x00, //2 black
  	0x0f,0x0a, //3 purple
	0x0e,0x00, //4 dark blue
  	0xf8,0x00,  //5 green
	0x22,0x0A, //6  red
  	0xc4,0x0c, //7 olive
	0x88,0x05, //8 light grey
  	0xb9,0x0b,  //9 purple
  	0xBD,0x05, //A  purple
  	0x0f,0x0f,  //B
  	0xA3,0x0A, 	//C Yellow
	0xcc,0x0c, //D light grey
	0x68,0x03,  //E Light Blue Main Menu Background or 0x79, 0x04 which is a litter light
  	0xff,0x0f,  //F white
EOT
};
char code OSDDisableTbl[]={
TW100,5,
0xa0,3,Y_INC,
0x00,0x18,
EOT
};
char code OSDEnableTbl[]={
TW100,5,
0xa0,3,Y_INC,
0x00,0x98,
EOT
};
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -