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

📄 cv_xga.txt

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

CODE BYTE COMP_YPbPr_480I_Reg[] = {
	// 720*240
	TW88I2CAddress, 8,
	0x02, 0x7a,					// YSEL = Y3, IFSEL=Component interlace 
	0x0a, 0x01,//23,					// H delay
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= Y(1)/G(0) ADC Input Select

	0xfc, 0x82,
	0x60, 0xab,
	0x62, 0x4a,
	0xb9, 0x64,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_576I_Reg[] = {
	// 720*288
	TW88I2CAddress, 10,
	0x02, 0x7a,					// YSEL = Y3, IFSEL=Component interlace 
	0x07, 0x12,					// HV Active-HL
	0x09, 0x20,					// V Active-L
	0x0a, 0x01,//23,					// H delay
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= Y(1)/G(0) ADC Input Select

	0xfc, 0x82,
	0x60, 0xab,
	0x62, 0x5b,
	0xb9, 0x61,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_480P_Reg[] = {
	// 
	TW88I2CAddress, 13,
	0x02, 0x7a,					// YSEL = Y3, IFSEL=Component interlace 
	0x07, 0x12,					// HV Active-HL
	0x09, 0xf2,					// V Active-L
	0x0a, 0x34,					// H delay
	0x27, 0x04,
	0x33, 0x03,
	0x36, 0x00,					// RGB ADC Power On
	0x37, 0x08,
	0x3f, 0x08,					// Y ADC= Y(1)/G(0) ADC Input Select

	0xfc, 0x82,
	0x60, 0x9d,
	0x62, 0xa1,
	0xb9, 0x44,

	0xff, 0xff
};

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

	0xfc, 0x82,
	0x60, 0x9d,
	0x62, 0xb8,
	0xb9, 0x51,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_1080I_Reg[] = {


	TW88I2CAddress, 13,
	0x02, 0x7a,					// YSEL = Y3, IFSEL=Component interlace 
	0x07, 0x22,					// HV Active-H
	0x08, 0x12,					// V Delay
	0x09, 0x1f,					// V Active-L
	0x0a, 0x2c,					// H delay
	0x0b, 0x80,					// H Active-L
	0x27, 0x04,
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= Y(1)/G(0) ADC Input Select

	0xfc, 0x82,
	0x60, 0x9c,
	0x62, 0xb0,
	0xb9, 0x21,

	0xff, 0xff
};

CODE BYTE COMP_YPbPr_720P_Reg[] = {
	// 1280*720 --> 466*720
	TW88I2CAddress, 12,
	0x02, 0x7a,					// YSEL = Y3, IFSEL=Component interlace 
	0x07, 0x21,					// HV Active-H
	0x08, 0x18,					// V Delay
	0x09, 0xd0,					// V Active-L
	0x0a, 0x27,					// H delay
	0x0b, 0xd2,					// H Active-L
	0x36, 0x00,					// RGB ADC Power On
	0x3f, 0x08,					// Y ADC= Y(1)/G(0) ADC Input Select

	0xfc, 0x82,
	0x60, 0x66,
	0x62, 0xe6,
	0xb9, 0x2e,

	0xff, 0xff
};
/*
CODE BYTE COMP_YPbPr_720P50_Reg[] = {
	
	TW88I2CAddress, 12,
	0x02, 0x7a,					// YSEL = Y3, 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,					// Y ADC= Y(1)/G(0) ADC Input Select

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

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

#endif // SUPPORT_COMPONENT










⌨️ 快捷键说明

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