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

📄 cv_wxga.txt

📁 此程序为twell8806驱动程序
💻 TXT
字号:
/*---------------------------------------------------------------------------*/
/*                        Componnent Video Mode Initial Setup                */
/*---------------------------------------------------------------------------*/
#ifdef SUPPORT_COMPONENT

CODE BYTE COMP_YPbPr_480I_Reg[] = {
	
	TW88I2CAddress, 10,
	0x02, 0x6a,					// YSEL = Y4, IFSEL=Component interlace 
	0x07, 0x02,
	0x09, 0xf0,
	0x0a, 0x23,					// H delay
//	0x27, 0x04, // Change for detect 480p->480i with macrovision 11/8/05
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= G ADC Input Select

	0xfc, 0x8c,
	0x60, 0x8a,
	0x62, 0x4c,
	0xb9, 0x5c,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_576I_Reg[] = {
	
	TW88I2CAddress, 10,
	0x02, 0x6a,					// YSEL = Y4, IFSEL=Component interlace 
	0x07, 0x12,
	0x09, 0x20,
	0x0a, 0x23,					// H delay
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= G ADC Input Select

	0xfc, 0x8c,
	0x60, 0x8a,
	0x62, 0x5b,
	0xb9, 0x5c,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_480P_Reg[] = {
	
	TW88I2CAddress, 15,
	0x02, 0x7a,					// YSEL = Y4, IFSEL=Component interlace 
	0x07, 0x12,
	0x09, 0xec,
	0x0a, 0x3e,					// H delay
	0x1c, 0x00,//60Hz
	0x36, 0x00,					// RGB ADC Power On
	0x27, 0x04,
	0x33, 0x03,
	0x36, 0x00,					// RGB ADC Power On
	0x37, 0x08,
	0x3f, 0x08,					// Y ADC= G ADC Input Select

	0xfc, 0x8c,
	0x60, 0x7c,
	0x62, 0x9c,
	0xb9, 0x48,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_576P_Reg[] = {
	
	TW88I2CAddress, 10,
	0x02, 0x7a,					// YSEL = Y4, IFSEL=Component interlace 
	0x07, 0x22,					// HV Active-HL
	0x09, 0x50,					// V Active-L
	0x0a, 0x55,					// H delay
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= G ADC Input Select

	0xfc, 0x8c,
	0x60, 0x7d,
	0x62, 0xbd,
	0xb9, 0x42,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_1080I_Reg[] = {
 	
	TW88I2CAddress, 12,
	0x02, 0x7a,					// YSEL = Y4, IFSEL=Component interlace 
	0x07, 0x22,					// HV Active-H
	0x08, 0x12,					// V Delay
	0x09, 0x1f,					// V Active-L
	0x0a, 0x2b,					// H delay
	0x0b, 0x80,					// H Active-L
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= G ADC Input Select

	0xfc, 0x8c,
	0x60, 0x7a,
	0x62, 0xb1,
	0xb9, 0x26,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_720P_Reg[] = {
	
	TW88I2CAddress, 13,
	0x02, 0x7a,					// YSEL = Y4, IFSEL=Component interlace 
	0x07, 0x21,					// HV Active-H
	0x08, 0x18,					// V Delay
	0x09, 0xd0,					// V Active-L
	0x0a, 0x20,					// H delay
	0x0b, 0xa5,					// H Active-L
	0x1c, 0x00,//60Hz
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= Y(1)/G(0) ADC Input Select

	0xfc, 0x8c,
	0x60, 0x53,
	0x62, 0xe6,
	0xb9, 0x34,

	0xff, 0xff
};
/*
CODE BYTE COMP_YPbPr_720P50_Reg[] = {
	
	TW88I2CAddress, 12,
	0x02, 0x7a,					// YSEL = Y4, IFSEL=Component interlace 
	0x07, 0x21,					// HV Active-H
	0x08, 0x18,					// V Delay
	0x09, 0xd0,					// V Active-L
	0x0a, 0x1c,					// H delay
	0x0b, 0xa5,					// H Active-L
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,//0x00,					// Y ADC= Y(1)/G(0) ADC Input Select

	0xfc, 0x8c,
	0x60, 0x69,
	0x62, 0xe6,
	0xb9, 0x3e,

	0xff, 0xff
};
*/
//=============================================================================

#endif // SUPPORT_COMPONENT










⌨️ 快捷键说明

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