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

📄 wv_n(tmd_lta070a320f).txt

📁 显示屏驱动源代码
💻 TXT
字号:
/*===========================================================================*/
/*                    Register Setting for TW8816     08/02/07               */
/*===========================================================================*/
//	Input	: NTSC
//	Panel	: WVGA TX18D16VM2BAA_DP HITACHI T-CON LESS PANEL Ver0.00
//-----------------------------------------------------------------------------

TW88I2CAddress, 106+34,
0xff, 0x01,
0xc0, 0x25, // ADC PLL=27Mhz

0xff, 0x00,
//------------ Decoder (23) ---------------------------------------------------

0x02, 0x40,
0x06, 0x03,
0x07, 0x02,				// Cropping H				** N/P, panel
0x08, 0x16,				// V delay L				** N/P, panel
0x09, 0xf0,				// V active L				** N/P, panel?
0x0a, 0x23,				// H delay L				** N/P, panel
0x0b, 0xd0,				// H active L				** N/P, panel?
0x0c, 0xcd,				// Control Reg 1
0x0d, 0x15,
0x10, 0x00,				// Brightness
0x11, 0x61,				// Contrast
0x12, 0x52,				// Sharpness Ctrl 1
0x13, 0x9e,				// Chroma(U) gain
0x14, 0x9e,				// chroma(V) gain
0x15, 0x00,				// Hue
0x17, 0x33,				// V peaking Ctrl 1			
0x18, 0x44,				// Coring Ctrl				
0x1c, 0x0f,
0x1d, 0x7f,
0x1e, 0x08,
0x20, 0x50, // Clamp Gain for TW8806B
0x21, 0x44,				// AGC gain
0x22, 0xf0,
0x23, 0xd8,				// White Peak Threshold
0x24, 0xbc,
0x25, 0xb8,
0x26, 0x44,
0x27, 0x2A, // Default Changed from 0x32 
0x28, 0x00,
0x29, 0x15,
0x2a, 0x78,
0x2b, 0x44,
0x2c, 0x40,				// Pre-Filter Select
0x2d, 0x14,
0x2e, 0xa5,
0x2f, 0xe0,
0x33, 0x05,
0x34, 0x1a,
0x35, 0x02, // Y Clamp Current 
0x36, 0x00,
0x37, 0x00,
0x38, 0x8e,
0x39, 0x00,
0x3a, 0x00,
0x3b, 0x00,
0x3c, 0x00,
0x3d, 0x00,
0x3e, 0x00,
0x3f, 0x00,


//---------- Input/Output (4+2) -------------------------------------------------

0x40, 0x00,				// Input
0x41, 0x20,				// Output
0x42, 0x04,
0x43, 0x04,				// Input routing
0x44, 0x08,				// Input control
0x45, 0x54,
0x46, 0x20,
0x47, 0x00,
0x48, 0xcf,
0x49, 0x20,
0x4d, 0x30,
0x4a, 0x13,
0x4b, 0x13,
0x4c, 0x00,
0x4e, 0x10,				// Input control
0x4f, 0x09,				// GPIO0_Lo: Enable

//------------ Zoom (7) -------------------------------------------------------

0x63, 0x00,				// H/V scale up/dn H		** N/P panel
0x60, 0xdf,				// H-scale up L				** N/P panel
0x61, 0x80,				// H-scale dn L				** N/P panel
0x62, 0x7c,				// V-scale up L				** N/P panel
0x64, 0xff,				// H-scale up offset, remove error
0x65, 0x80,				// V-scale up offset
0x66, 0x00,				// H non-display area
0x67, 0x00,
0x68, 0x00,

//--------- Image Adjust (18) ------------------------------------------------

0x70, 0x60,				// RGB/ Hue
0x71, 0x80,				// R contrast
0x72, 0x80,				// G contrast
0x73, 0x80,				// B contrast
0x74, 0x80,				// R brightness
0x75, 0x80,				// G brightness
0x76, 0x80,				// B brightness
0x77, 0x30,				// Sharpness=0
0x78, 0x3b,
0x79, 0x00,				// Edge Enhancement=enable
0x7a, 0x30,
0x7c, 0x1c,
0x7d, 0x08,
0x7e, 0xf6,
0x7f, 0x08,
0x80, 0x10,
0x81, 0x0d,
0x82, 0x03,
0x83, 0x00,
0x84, 0x67,
0x85, 0x94,
0x86, 0x00,
0x87, 0xff,
0x88, 0xca,
0x89, 0x02,
0x8a, 0x08,
0x8b, 0x04,

//---------- BW/Blue Stretch(4) --------------------------------------------------

0x86, 0x00,
0x87, 0xff,
0x89, 0x02,
0x7c, 0x1c,

//--------- Color Enhancement (6) ----------------------------------------------

0xd4, 0x00,
0xd5, 0x3f,
0xd6, 0x00,
0xd7, 0x00,
0xd8, 0x00,

//--------- Display control (15) ----------------------------------------------

0xb0, 0x48,
0xb1, 0x00,				// Output Signal Config.
0xb6, 0x34,				// clock delay, en coast	** panel
0xb2, 0x01,				//							**     panel
0xb3, 0x40,				//							**     panel
0xb4, 0x1E,				//							**     panel
0xb5, 0x20,				//							** N/P panel
0xbb, 0x12,				//							**     panel
0xb7, 0x0D,				// PHR-H, PHP-H				** N/P panel
0xb8, 0x02,				// PHP-L					** N/P panel
0xb9, 0x2e,				// H sync					**
0xba, 0xe0,				// H back porch				**     panel
0xbc, 0x21,				// PHR-L					**     panel
0xbd, 0x08,				// Dithering
0xbe, 0x03,				// Auto Calc.
0xbf, 0x00,

//--------- Misc. Input (3) --------------------------------------------------

0xc2, 0x00,				//							** N/P panel
0xc0, 0x00,				// Initial Counter			** N/P panel
0xc1, 0x00,				//							** N/P panel
0xc3, 0x00,
0xc4, 0x40,

//--------- PLL (5) -----------------------------------------------------------

//0xf9, 0x01,				// Charge Pump Current[7:5]=000
//0xfa, 0x3b,				// 35.700MHz
//0xfb, 0xe3,				//							** N/P panel
//0xfc, 0x48,				// SS Frequency
//0xfd, 0x10,				// SS Gain[7:4]=0; VCO=01:27~54Mhz
//0xfe, 0x00,				//							** N/P panel
0xf8, 0x00,
0xf9, 0x00,
0xfa, 0xCC,				// 12.6/2=6.3MHz	** N/P panel
0xfb, 0x00,				//			** N/P panel
0xfc, 0x40,				//			** N/P panel
0xfd, 0x30,				//			** N/P panel
0xfe, 0x08,				//			** N/P panel

//------------------------------------------------------------------------------

0xff, 0x00,

0xff, 0xff		// end of data


⌨️ 快捷键说明

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