?? au_7_a.c
字號:
/****************************************************************************
* File: AU_7_A.c *
* Description: This file includes Tcon values and ScanMode for AU 7" *
* analog panel *
****************************************************************************/
REGADRVAL code stINTT10xP0[]={
//adr , value
0x50 , 0x06, //VSYNC_TIME_MEA_REG
0x38 , 0x50, //HSYNC_MISSCNT_L_REG
0x39 , 0x00, //HSYNC_MISSCNT_H_REG
0x3A , 0x20, //VSYNC_DLT_REG
0x3B , 0x03, //HSYNC_DLT_REG
};
#ifdef TCON
uCHAR code TconP1Data[]={ //10~35
0x21,TIME_PROTOCOL,0x02,0x02,0x0C,0x02,0x02,0xf2,0x01,0x29,0x00,
0x01,0x18,GATE_PREDRIVE,0x00,0x00,0x01,0xFB,0x01,0x37,0x00,0x06
};
#endif
/*******************************************************************************
* T10x Panel specified register settings *
* (including default Brightness/Contrast/Sat *
*******************************************************************************/
uCHAR code ucaPanelSpecAdrP0[]={ //
0x79, 0xc7, 0x65, 0x66
};
uCHAR code ucaPanelSpecDataP0[]={ //
0x00, 0x00, 0x08, 0x88
};
uCHAR code ucaPanelSpecAdrP2[]={ //
0x08, 0x09, 0x0a
};
#ifdef T112
uCHAR code ucaPanelSpecDataP2[]={ //
//Constrast, Bright, Sat
0x50, 0x26, 0x70
};
#else
uCHAR code ucaPanelSpecDataP2[]={ //
//Constrast, Bright, Sat
0x50, 0x2b, 0x70
};
#endif
/*******************************************************************************
* T10x Output timing Register Adress and Value for static condition *
*******************************************************************************/
//====== Output timing Register Adress ===========//
uCHAR code ucaZoomAdrP0[]={
0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
};
uCHAR code ucaZoomAdrP2[]={
0x2e, 0x2f, 0x30, 0x31
};
#ifdef T100A
//====== Output timing Register Value ===========//
uWORD code ucaZoomDataP0_NTSC[]={
//0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
//0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
//full
0x09, 0x91, 0x88, 0xbb, 0xd0, 0x7f, 0x00, 0x00, 0x8d, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 1
// 0x10, 0x88, 0xb8, 0x90, 0x6D, 0x00, 0x00, 0x8D, 0x83, 0x00, 0x00, 0x00, 0x00, 0x15,
// 0x16, 0x0F, 0xea, 0x12, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00,
0x10, 0xb1, 0x88, 0xb8, 0x90, 0x68, 0x00, 0x00, 0x8d, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x16,
0x16, 0x1C, 0xea, 0x12, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 2, zoom wide 1 in Himax8806A
0x10, 0xb1, 0x00, 0xbb, 0x90, 0x6D, 0x00, 0xc8, 0x8D, 0x83, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0F, 0xea, 0x12, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//_4:3
0x15, 0xb1, 0x10, 0xf7, 0xd0, 0x7f, 0x00, 0x00, 0x2f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x6e, 0x03, 0x3c, 0x00, 0x00, 0x00, 0x68, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 3, zoom 2 in Himax
0x10, 0xb1, 0x88, 0xb8, 0x80, 0x76, 0x00, 0x00, 0x8d, 0x80, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x36, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 4, wide in Himax 8806A
0x10, 0xb1, 0x00, 0xbb, 0xd0, 0x7f, 0x00, 0xc8, 0x8d, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x66, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom5 , zoom wide 2 in Himax 8806A
0x10, 0xb1, 0x88, 0xb8, 0x80, 0x76, 0x00, 0x84, 0x8d, 0x80, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x36, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom6, zoom 3 in Himax 8806A
0x10, 0xb1, 0x88, 0xb8, 0x60, 0x76, 0x00, 0x00, 0x8d, 0x49, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x3e, 0x05, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom7
0x3c, 0xb1, 0xA9, 0x3A, 0x29, 0x64, 0x00, 0x00, 0x00, 0x8b, 0x00, 0x00, 0x00, 0x00, 0x17,
0x10, 0x1f, 0xea, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20, 0x11,
};
uWORD code ucaZoomDataP0_PAL[]={
//0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
//0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
//full
0x0C, 0x91, 0x99, 0xB9, 0x29, 0x99, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x11, 0xEA, 0xE4, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 1
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x7F, 0x00, 0x00, 0xDD, 0x1A, 0x00, 0x00, 0x00, 0x00, 0x15,
0x71, 0x2C, 0xEA, 0x6F, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 2, zoom wide 1 in Himax8806A
0x14, 0xb1, 0x99, 0xB9, 0x29, 0x7F, 0x00, 0x8C, 0xDD, 0x1B, 0x00, 0x00, 0x00, 0x00, 0x15,
0x71, 0x2C, 0xEA, 0x6E, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//_4:3
0x0C, 0xb1, 0x99, 0xf7, 0x29, 0x99, 0x00, 0x00, 0xDD, 0x12, 0x57, 0x00, 0x90, 0x01, 0x15,
0x71, 0x11, 0xEA, 0xE1, 0x03, 0x3c, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 3, zoom 2 in Himax
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0x00, 0xDD, 0x12, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x23, 0xEA, 0xB3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 4, wide in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x99, 0x00, 0xCA, 0xDD, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x11, 0xEA, 0xE3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom5 , zoom wide 2 in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0xCA, 0xDD, 0x12, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x23, 0xEA, 0xB3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom6, zoom 3 in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0x00, 0xDD, 0x04, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x22, 0xEA, 0xA7, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom7
0x16, 0xb1, 0xA9, 0x3A, 0x29, 0x76, 0x00, 0x00, 0xDD, 0x9f, 0x00, 0x00, 0x00, 0x00, 0x16,
0x10, 0x23, 0xea, 0x55, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20, 0x11,
/* bigger size
0x3c, 0xA9, 0x3A, 0x29, 0x64, 0x00, 0x00, 0xDD, 0x92, 0x00, 0x00, 0x00, 0x00, 0x17,
0x10, 0x37, 0xea, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20,
*/
};
uCHAR code ucaZoomDataP2_NTSC[]={
//full
0x88, 0x50, 0x26, 0x69,
// Zoom 1
0x88, 0x50, 0x20, 0x41,
// Zoom 2
0x88, 0x50, 0x20, 0x41,
//_4:3
0x82, 0x50, 0x26, 0x69,
// Zoom 3, Zoom2 in Himax
0x88, 0x50, 0x20, 0x69,
// Zoom 4
0x88, 0x50, 0x26, 0x69,
// Zoom 5, zoom wide 2 in Himax 8806A
0x88, 0x50, 0x20, 0x69,
// Zoom 6, zoom 3 in Himax 8806A
0x88, 0x50, 0x38, 0x69,
// Zoom 7
0xD8, 0x00, 0x5A, 0x61
};
uCHAR code ucaZoomDataP2_PAL[]={
//full
0x88, 0x50, 0x2E, 0xC1,
// Zoom 1
0x88, 0x50, 0x64, 0x8C,
// Zoom 2
0x88, 0x50, 0x64, 0x8C,
//_4:3
0x82, 0x50, 0x2E, 0xC1,
// Zoom 3, Zoom2 in Himax
0x88, 0x50, 0x58, 0x95,
// Zoom 4
0x88, 0x50, 0x2E, 0xC1,
// Zoom 5, zoom wide 2 in Himax 8806A
0x88, 0x50, 0x58, 0x95,
// Zoom 6, zoom 3 in Himax 8806A
0x88, 0x50, 0x4C, 0xA2,
// Zoom 7
//0xD8, 0x00, 0x8A, 0x31 //bigger size
0xb0, 0x28, 0x38, 0x71
};
#endif // end of T100A
#if (defined T102)|(defined T112)
//====== Output timing Register Value ===========//
uWORD code ucaZoomDataP0_NTSC[]={
//0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
//0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
//full
0x10, 0xb1, 0x66, 0x2E, 0x00, 0x20, 0x00, 0x00, 0xC7, 0x01, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x68, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 1
0x10, 0xb1, 0x66, 0x2E, 0x00, 0x20, 0x00, 0x82, 0xC7, 0x01, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x68, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 2, zoom wide 1 in Himax8806A
0x10, 0xb1, 0x66, 0x2E, 0x00, 0x20, 0x00, 0xc3, 0xC7, 0x01, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x68, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//_4:3
//0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
//0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
0x0c, 0xb1, 0xdd, 0x3d, 0x00, 0x20, 0x00, 0x00, 0xec, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x68, 0x03, 0x3c, 0x00, 0x00, 0x00, 0x68, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 3, zoom 2 in Himax
0x10, 0xb1, 0x88, 0xb8, 0x80, 0x76, 0x00, 0x00, 0x8d, 0x80, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x36, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 4, wide in Himax 8806A
0x10, 0xb1, 0x00, 0xbb, 0xd0, 0x7f, 0x00, 0xc8, 0x8d, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x66, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom5 , zoom wide 2 in Himax 8806A
0x10, 0xb1, 0x88, 0xb8, 0x80, 0x76, 0x00, 0x84, 0x8d, 0x80, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x36, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom6, zoom 3 in Himax 8806A
0x10, 0xb1, 0x88, 0xb8, 0x60, 0x76, 0x00, 0x00, 0x8d, 0x49, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x3e, 0x05, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom7
0x3c, 0xb1, 0xA9, 0x3A, 0x29, 0x64, 0x00, 0x00, 0x00, 0x8b, 0x00, 0x00, 0x00, 0x00, 0x17,
0x10, 0x1f, 0xea, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20, 0x11,
};
uWORD code ucaZoomDataP0_PAL[]={
//0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
//0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
//full
0x0C, 0xb1, 0x66, 0x2E, 0x4A, 0x26, 0x00, 0x00, 0xC7, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x10, 0xEA, 0xE7, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 1
0x0C, 0xb1, 0x66, 0x2E, 0x4A, 0x26, 0x00, 0x82, 0xC7, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x10, 0xEA, 0xE7, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 2, zoom wide 1 in Himax8806A
0x0C, 0xb1, 0x66, 0x2E, 0x4A, 0x26, 0x00, 0xC3, 0xC7, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x10, 0xEA, 0xE7, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//_4:3
0x0C, 0xb1, 0xDD, 0x3D, 0x4A, 0x26, 0x00, 0x00, 0xB3, 0x11, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x11, 0xEA, 0xE5, 0x03, 0x3c, 0x00, 0x00, 0x00, 0x68, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 3, zoom 2 in Himax
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0x00, 0xDD, 0x12, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x23, 0xEA, 0xB3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 4, wide in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x99, 0x00, 0xCA, 0xDD, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x11, 0xEA, 0xE3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom5 , zoom wide 2 in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0xCA, 0xDD, 0x12, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x23, 0xEA, 0xB3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom6, zoom 3 in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0x00, 0xDD, 0x04, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x22, 0xEA, 0xA7, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom7
0x16, 0xb1, 0xA9, 0x3A, 0x29, 0x76, 0x00, 0x00, 0xDD, 0x9f, 0x00, 0x00, 0x00, 0x00, 0x16,
0x10, 0x23, 0xea, 0x55, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20, 0x11,
/* bigger size
0x3c, 0xA9, 0x3A, 0x29, 0x64, 0x00, 0x00, 0xDD, 0x92, 0x00, 0x00, 0x00, 0x00, 0x17,
0x10, 0x37, 0xea, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20,
*/
};
uCHAR code ucaZoomDataP2_NTSC[]={
//full
0x88, 0x50, 0x26, 0x69,
// Zoom 1
0x88, 0x50, 0x26, 0x69,
// Zoom 2
0x88, 0x50, 0x26, 0x69,
//_4:3
0x82, 0x50, 0x26, 0x69,
// Zoom 3, Zoom2 in Himax
0x88, 0x50, 0x20, 0x69,
// Zoom 4
0x88, 0x50, 0x26, 0x69,
// Zoom 5, zoom wide 2 in Himax 8806A
0x88, 0x50, 0x20, 0x69,
// Zoom 6, zoom 3 in Himax 8806A
0x88, 0x50, 0x38, 0x69,
// Zoom 7
0xD8, 0x00, 0x5A, 0x61
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -