📄 timing.h
字号:
/*********************************************************************
COPYRIGHT (C) Himax Technologies, Inc.
File name : timing.h
Description : Declare G4 Relative Timing Table
Author : Nice
Create date : 2004.10.01
Attention : Following Look Up Table Only Referenced by HX8816
*********************************************************************/
#ifndef _TIMING_H
#define _TIMING_H
#include "common.h"
/***************** HX8816 Input Timing *****************************/
#ifdef _PA8204_C
/***************** Input Mux Selection Table ***********************/
Byte code PA8204_Input_Format[][2] =
{
0xF4, 0x01, // DVI
0xE4, 0x01, // VGA
0xC4, 0x03, // S-Video
};
/***************** TCON Setup Look Up Table ************************/
Byte code PA8204_Line[] =
{
0x0D,0x82,0x82,0x02,0x08,0x05,0x20,0x20
};
Byte code PA8204_SourceDriver[] =
{
0x88,0xFA,0xCA,0x3E,0x1D,0x05
};
Byte code PA8204A_GateDriver[] =
{
0x84,0x22,0xD8,0x34,0xDD,0xE5,0x71,0x8E,0x03,0x00,0x41,0x21
};
/*************** Main/Sub Channel Timing Table *********************/
Byte code PA8204_Video_Input[][20] =
{
/* VGA Timing */
/* ------------------- */
/* Inp_H_st,Inp_H_size */
0x91,0x00,0x80,0x02,
/* Inp_V_st,Inp_V_size */
0x24,0x00,0xE0,0x01,
/* Scaling H & V */
0x00,0x08,0x00,0x15,
0x80,0x07,0x00,0x04,
/* Start Position */
0x8F,0x00,0x23,0x00
};
#endif
/***************** HX8816 Output Timing *****************************/
#ifdef _PA8204_C
#if (DISPLAY_PANEL == CMO_SXGA)
/********************* SXGA ******************************/
Byte code PA8204_Table_OutPut[][19] =
{
/* VGA Timing */
//Out_H_Tot, _H_Sync, H_start, H_Size
/*0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97 */
0x53,0x06,0x70,0x00,0xE2,0x00,0x00,0x05,
//Out_V_Tot,_V_Sync, V_start, V_Size
/*0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f */
0x60,0x04,0x20,0x00,0x40,0x00,0x00,0x04,
//Output Reset
/*0xA0,0xA1,0xA2 */
0xF1,0x5A,0x00,
};
#elif (DISPLAY_PANEL == CMO_32)
/********************* 32" TV ******************************/
Byte code PA8204_Table_OutPut[][19] =
{
//Out_H_Tot, _H_Sync, H_start, H_Size
/*0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97 */
0x98,0x06,0x70,0x00,0x20,0x01,0x56,0x05,
//Out_V_Tot,_V_Sync, V_start, V_Size
/*0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f */
0x26,0x03,0x06,0x00,0x23,0x00,0x00,0x03,
};
#elif (DISPLAY_PANEL == CMO_27)
/********************* 27" TV ******************************/
Byte code PA8204_Table_OutPut[][19] =
{
//Out_H_Tot, _H_Sync, H_start, H_Size
/*0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97 */
0x98,0x06,0x70,0x00,0x89,0x00,0x00,0x05,
//Out_V_Tot,_V_Sync, V_start, V_Size
/*0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0x9f */
0xEE,0x02,0x06,0x00,0x1B,0x00,0xD0,0x02,
};
#endif
#endif
/************************ End of File ******************************/
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -