基于s3c2440实现的裸机数码相框
时间:11-11
来源:互联网
点击:
****************************************************************************************************************/
rLCDINTMSK|=(3); /*屏蔽LCD中断*/
rTCONSEL = 0; /*无效LPC3600*/
rGPGUP=rGPGUP&(~(1<4))|(1<4); /*GPG4上拉电阻无效*/
rGPGCON=rGPGCON&(~(3<8))|(3<8); /*设置GPG4为LCD_PWREN*/
rGPGDAT = rGPGDAT | (1<4) ; /*GPG4置1 电源开关*/
rLCDCON5=rLCDCON5&(~(1<3))|(1<3); /*有效PWREN信号*/
rLCDCON5=rLCDCON5&(~(1<5))|(0<5); /*PWREN信号极性不翻*/
rLCDCON1|=1; /*LCD开启*/
while(1)
{
paint(gImage_xiaogou);
delay(5000000);
paint(gImage_ningbo);
delay(5000000);
paint(gImage_tushu);
delay(5000000);
paint(gImage_bailu);
delay(5000000);
paint(gImage_yejing);
delay(5000000);
}
}
s3c2440裸机数码相 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)