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

📄 qv_p.txt

📁 此程序为twell8806驱动程序
💻 TXT
字号:
/*===========================================================================*/
/*                    Register Setting for TW8800/TW8801                     */
/*===========================================================================*/
//	Input	: PAL
//	Panel	: QVGA
//-----------------------------------------------------------------------------
//	Below listed registers should not be set.
//	0x02, 0x06, 
//
//

TW88I2CAddress, 79,

0xc5, 0xc1,
0xc6, 0x25, // ADC PLL=27Mhz


//------------ Decoder (32) ---------------------------------------------------

0x1c, 0x09,				// Standard, shadow 		** N/P

0x04, 0x00,				// Luminance Gamma
0x07, 0x12,				// Cropping H				** N/P, panel
0x08, 0x13,				// V delay L				** N/P, panel
0x09, 0xf0,				// V active L				** N/P, panel?
0x0a, 0xb4,				// H delay L				** N/P, panel
0x0b, 0xd0,				// H active L				** N/P, panel?
0x0c, 0xcc,				// Control Reg 1
0x0d, 0x05,				// FreeRun=PAL
0x10, 0x00,				// Brightness
0x11, 0x60,				// Contrast
0x12, 0x61,				// Sharpness Ctrl 1
0x13, 0xc0,				// Chroma(U) gain
0x14, 0xa0,				// chroma(V) gain
0x15, 0x00,				// Hue
0x16, 0xc3,				// Sharpness Ctrl 2
0x17, 0x81,				// V peaking Ctrl 1			
0x18, 0x44,				// Coring Ctrl				

0x20, 0x50, // Clamping gain
0x21, 0x82,				// Individual AGC gain
0x23, 0xfe,				// White Peak Threshold
//0x24, 0x3c,				// Clamp level
0x25, 0x38,				// Sync amplitude
0x26, 0x4a,				// Sync Miss Count

0x28, 0x00,				// V control Reg			
0x29, 0x00,				// V control Reg 2
0x2a, 0xa0,				// Color killer level
0x2b, 0x44,				// Comb filter ctrl
0x2c, 0x40,				// Luma delay/H sync ctrl
0x2d, 0x00,				// Misc.1
0x2e, 0x91,				// Misc.2
0x2f, 0xe0,				// Misc.3	
0x31, 0x14,				// Clamp Ctrl 2
0x35, 0x02, // Y Clamp Current 

//---------- Input/Output -----------------------------------------------------

0x40, 0x00,				// Input
0x41, 0xc0,				// Output
0x44, 0x18,				// Input control

//------------ Zoom -----------------------------------------------------------

0x5d, 0x00,				// H-scale up L				** N/P panel
0x5e, 0x1d,				// V-scale up L				** N/P panel
0x5f, 0xff,				// H-scale dn L				** N/P panel
0x60, 0x07,				// H/V scale up/dn H		** N/P panel
0x61, 0x00,				// H-scale up offset		** N/P panel
0x62, 0x80,				// V-scale up offset		** N/P panel

//--------- Color Adjust ------------------------------------------------------

0x64, 0x80,				// R contrast
0x65, 0x80,				// G contrast
0x66, 0x80,				// B contrast
0x67, 0x80,				// R brightness
0x68, 0x80,				// G brightness
0x69, 0x80,				// B brightness

0x6a, 0x00,				// Sharpness
0x6b, 0x00,				// zigzag       
0x6c, 0x80,				// zigzag, edge 

//--------- Display control ---------------------------------------------------

0xa2, 0x00,				//
0xa3, 0x0c,				//
0xa4, 0x0f,				//							**     panel
0xa5, 0x08,				//							**     panel
0xa6, 0x05,				//							** N/P panel
0xa7, 0xf0,				//							**     panel
0xa8, 0x01,				//							**     panel
0xa9, 0xe9,				//							** N/P panel
0xaa, 0x10,				//							**
0xab, 0x10,				//							**     panel
0xac, 0x40,				//							**     panel
0xad, 0x11,				//							** N/P panel

0xaf, 0x21,				// Dithering

//--------- Misc. Input -------------------------------------------------------

0xb8, 0x14,				// Input routing
0xb9, 0x80,				// Buffer hold ???			** N/P panel

0xbc, 0x00,				// Initial Counter			** N/P panel
0xbd, 0x00,				//							** N/P panel
0xbe, 0x77,				//							** N/P panel

//--------- Output Interface --------------------------------------------------

0xf6, 0x02,				// clock delay, en coast	** panel
0xf7, 0x00,

//--------- PLL ---------------------------------------------------------------

0xfa, 0x32,				// 108.0000MHz				** N/P panel
0xfb, 0x03,				//							** N/P panel
0xfc, 0x6f,				//							** N/P panel
0xfd, 0x00,				//							** N/P panel
0xfe, 0x36,				//							** N/P panel

//-----------------------------------------------------------------------------
0xff, 0xff



⌨️ 快捷键说明

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