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

📄 dtv_pc.txt

📁 此程序为twell8806驱动程序
💻 TXT
字号:
/*---------------------------------------------------------------------------*/
/*                          PC Mode Initial Setup                            */
/*---------------------------------------------------------------------------*/
CODE BYTE PC_RGB_AD9883_Reg[] = {
	
	TW88I2CAddress, 5,
	0x40, 0x06,
	//0x40, 0x20,					// invert field for DTV input
	//0x44, 0x0c,					// field detection method, YPbPr / RGB 
	//0x45, 0x11,					// even, odd field detection

	0xc5, 0xc7,	// Phase
	0xc6, 0x17,

	0x06, 0x80,
	0xbe, 0x82,
	0xff, 0xff
};

/*---------------------------------------------------------------------------*/
/*                          DTV Mode Initial Setup                           */
/*---------------------------------------------------------------------------*/

CODE BYTE DTV_YPbPr_480I_Reg[] = {
	
	TW88I2CAddress, 5,
	0x40, 0x04,					// invert field for DTV input
//	0x45, 0x4c, 					// even, odd field detection
//	0x65, 0x9c,					// Vscale Offset

//	0x60, 0xdc,
//	0x62, 0x7c,
//	0xb9, 0x23,

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0x82,
	0xff, 0xff
};

CODE BYTE DTV_YPbPr_576I_Reg[] = {
	
	TW88I2CAddress, 7,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0x82,
	0xff, 0xff
};

CODE BYTE DTV_YPbPr_1080I_Reg[] = {
 	
	TW88I2CAddress, 7,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0x82,
	0xff, 0xff
};

CODE BYTE DTV_YPbPr_1080I50A_Reg[] = {
	
	TW88I2CAddress, 7,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0x82,
	0xff, 0xff
};

CODE BYTE DTV_YPbPr_720P_Reg[] = {

	TW88I2CAddress, 7,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0x82,
	0xff, 0xff
};

CODE BYTE DTV_YPbPr_720P50_Reg[] = {

	TW88I2CAddress, 7,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0x82,
	0xff, 0xff
};


CODE BYTE DTV_YPbPr_480P_Reg[] = {
	
	TW88I2CAddress, 7,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0x82,
	0xff, 0xff
};

CODE BYTE DTV_YPbPr_576P_Reg[] = {
	
	TW88I2CAddress, 7,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x9c,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xbe, 0xc3,
	0xff, 0xff
};

//-----------------------------------------------------------------------
// Seperate Sync mode
//
CODE BYTE DTV_RGB_480I_Reg[] = { // H/V Mode

	TW88I2CAddress, 9,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x11,

	0xc5, 0xe2,	// Clamp UV
	0xc6, 0x80,
	
	0xbe, 0xc3,
	0xff, 0xff
};

CODE BYTE DTV_RGB_480P_Reg[] = {
	
	TW88I2CAddress, 9,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1a,

	0xc5, 0xe2,	// Clamp UV
	0xc6, 0x80,
	
	0xbe, 0xc3,
	0xff, 0xff
};

CODE BYTE DTV_RGB_720P_Reg[] = {
	
	TW88I2CAddress, 9,
	0x40, 0x04,
	0x41, 0x00,
	0x42, 0x00,
	0x44, 0x1b,
	//0x45, 0x11,					// even, odd field detection
	//0x65, 0x80,					// Vscale Offset

	0xc5, 0xc7,	// Phase
	0xc6, 0x1c,

	0xc5, 0xe2,	// Clamp UV
	0xc6, 0x80,
	
	0xbe, 0xc3,
	0xff, 0xff
};

//=============================================================================











⌨️ 快捷键说明

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