?? t515.lst
字號(hào):
I2CWriteByte(TW101+2, 0xDE, 0x03);
break;
}
}
}
void T515_CVIDE_NTSC(int temp)
{
I2CWriteByte(TW515, 0x00, 0x00);
I2CWriteByte(TW515, 0x01, 0x00);
//I2CWriteByte(TW515, 0x04, 0x2f);
I2CWriteByte(TW515, 0x0A, 0x30);
I2CWriteByte(TW515, 0x0B, 0x30);
I2CWriteByte(TW515, 0x0D, 0x60);
I2CWriteByte(TW515, 0x11, 0x00);
I2CWriteByte(TW515, 0x18, 0x00);
//I2CWriteByte(TW515, 0x19, 0x00);
I2CWriteByte(TW515, 0x1A, 0x87);
//I2CWriteByte(TW515, 0x1C, 0xc0);
I2CWriteByte(TW515, 0x21, 0x03);
I2CWriteByte(TW515, 0x30, 0x27);
I2CWriteByte(TW515, 0x28, 0x70);
I2CWriteByte(TW515, 0x29, 0x29);
I2CWriteByte(TW515, 0x2A, 0x55);
I2CWriteByte(TW515, 0x2B, 0x30);
I2CWriteByte(TW515, 0x44, 0x00);
I2CWriteByte(TW515, 0x45, 0x08);
I2CWriteByte(TW515, 0x4e, 0x88);//new
I2CWriteByte(TW515, 0xE0, 0x90);
I2CWriteByte(TW515, 0x22, 0x4B);
I2CWriteByte(TW515, 0x5F, 0x00);
I2CWriteByte(TW515, 0xa0, 0x25);
I2CWriteByte(TW515, 0xD1, 0xc8);
I2CWriteByte(TW515, 0xC1, 0xc8);
I2CWriteByte(TW515, 0xC2, 0x01);
C51 COMPILER V7.06 T515 06/16/2005 10:05:39 PAGE 4
I2CWriteByte(TW515, 0x27, 0x23);
I2CWriteByte(TW515, 0x20, 0x00);//Kuo
I2CWriteByte(TW515, 0x23, 0x00);//Kuo
I2CWriteByte(TW515, 0x38, 0x21);//Kuo
I2CWriteByte(TW515, 0x39, 0xf0);//Kuo
I2CWriteByte(TW515, 0x3a, 0x7c);//Kuo
I2CWriteByte(TW515, 0x3b, 0x1f);//Kuo
I2CWriteByte(TW515, 0x51, 0x61);//Kuo
I2CWriteByte(TW515, 0x5f, 0x00);//Kuo
I2CWriteByte(TW515, 0xa2, 0x46);//Kuo
I2CWriteByte(TW101, 0x30, 0x02);
I2CWriteByte(TW101, 0x70, 0xa0);
I2CWriteByte(TW101, 0x31, 0x10);
// I2CWriteByte(TW101, 0x84, 0x00);
// I2CWriteByte(TW101, 0x85, 0x0F);
I2CWriteByte(TW101+2, 0xd5, 0x08);//new
I2CWriteByte(TW101+2, 0xd6, 0x00);//new
I2CWriteByte(TW101+2, 0xd7, 0xc8);//new
I2CWriteByte(TW101+2, 0xd8, 0x02);//new
I2CWriteByte(TW101+2, 0xDE, 0x03);
if (temp==1)
I2CWriteByte(TW515, 0x19, 0x00);
else if(temp==2)
I2CWriteByte(TW515, 0x19, 0x04);
}
void T515_CVIDE_PAL(int temp)
{
I2CWriteByte(TW515, 0x00, 0x00);
I2CWriteByte(TW515, 0x01, 0x00);
//I2CWriteByte(TW515, 0x04, 0x2f);
I2CWriteByte(TW515, 0x0A, 0x30);
I2CWriteByte(TW515, 0x0B, 0x30);
I2CWriteByte(TW515, 0x0D, 0x60);
I2CWriteByte(TW515, 0x11, 0x00);
I2CWriteByte(TW515, 0x18, 0x00);
//I2CWriteByte(TW515, 0x19, 0x00);
I2CWriteByte(TW515, 0x1A, 0x87);
//I2CWriteByte(TW515, 0x1C, 0xc0);
I2CWriteByte(TW515, 0x21, 0x02);
I2CWriteByte(TW515, 0x28, 0x70);
I2CWriteByte(TW515, 0x29, 0x4a);
I2CWriteByte(TW515, 0x2A, 0x3a);
I2CWriteByte(TW515, 0x2B, 0x30);
I2CWriteByte(TW515, 0x44, 0x00);
I2CWriteByte(TW515, 0x45, 0x08);
I2CWriteByte(TW515, 0xE0, 0x90);
I2CWriteByte(TW515, 0x22, 0x4B);
I2CWriteByte(TW515, 0x20, 0x32);
I2CWriteByte(TW515, 0x38, 0x2a);
I2CWriteByte(TW515, 0x39, 0x09);
I2CWriteByte(TW515, 0x3a, 0x8a);
I2CWriteByte(TW515, 0x3b, 0xcb);
I2CWriteByte(TW515, 0x4e, 0x8e);//new
I2CWriteByte(TW515, 0x50, 0x2a);
I2CWriteByte(TW515, 0x51, 0xc1);
I2CWriteByte(TW515, 0xa2, 0x52);
I2CWriteByte(TW515, 0x5F, 0x00);
C51 COMPILER V7.06 T515 06/16/2005 10:05:39 PAGE 5
I2CWriteByte(TW515, 0xa0, 0x25);
I2CWriteByte(TW515, 0xD1, 0xc8);
I2CWriteByte(TW515, 0xC1, 0xc8);
I2CWriteByte(TW515, 0xC2, 0x01);
I2CWriteByte(TW515, 0x27, 0x24);
I2CWriteByte(TW515, 0x23, 0x00);//Kuo
I2CWriteByte(TW515, 0x30, 0x02);//Kuo new
I2CWriteByte(TW515, 0x5f, 0x00);//Kuo
I2CWriteByte(TW101, 0x30, 0x02);
I2CWriteByte(TW101, 0x70, 0xa0);
I2CWriteByte(TW101, 0x31, 0x10);
// I2CWriteByte(TW101, 0x84, 0x00);
// I2CWriteByte(TW101, 0x85, 0x0F);
I2CWriteByte(TW101+2, 0xD5, 0x08);//new
I2CWriteByte(TW101+2, 0xD6, 0x00);//new
I2CWriteByte(TW101+2, 0xD7, 0xc8);//new
I2CWriteByte(TW101+2, 0xD8, 0x02);//new
I2CWriteByte(TW101+2, 0xDb, 0x20);//new
I2CWriteByte(TW101+2, 0xDc, 0x01);//new
I2CWriteByte(TW101+2, 0xDE, 0x03);
if (temp==1)
I2CWriteByte(TW515, 0x19, 0x00);
else if(temp==2)
I2CWriteByte(TW515, 0x19, 0x04);
}
#endif
C51 COMPILER V7.06 T515 06/16/2005 10:05:39 PAGE 6
NAME CLASS MSPACE TYPE OFFSET SIZE
==== ===== ====== ==== ====== ====
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = ---- ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -