下载
加入VIP
  • 专属下载特权
  • 现金文档折扣购买
  • VIP免费专区
  • 千万文档免费下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 摄像头程序

摄像头程序.doc

摄像头程序

于佳迪
2017-12-27 0人阅读 举报 0 0 暂无简介

简介:本文档为《摄像头程序doc》,可适用于IT/计算机领域

摄像头程序黑的是X左右的值白是的X左右的值黑白分明。不要理解黑的就是白的就是。PM:::PMPTPTY:::YHREFVSYNC******************************程序***********************************************************************程序***********************************************************************程序***********************************************************************程序*****************************************#defineBUFFADDRx#defineBUFFADDRF$INTUbuffBUFFADDRINTUgSampleFlag=******************************倍频*****************************************voidvPLLInit(void){BUSCLOCK=PLLCLOCK=MREFDV=SYNR=while(!CRGFLGLOCK)waitheretillthePLLislockedCLKSEL|=xswitchthebusclocktothePLL}***************************行场中断初始化************************************voidvinterruptsinit(void){TIOS=x外部输入捕捉,通道TCTL=xA通道上升沿触发,通道下降沿触发TSCR=xTIECI=TIECI=}***************************IO口初始化************************************voidvIOPortInit(void){DDRM=X}************************************主函数************************************voidmain(void){DisableInterruptsvPLLInit()vinterruptsinit()vIOPortInit()EnableInterruptsfor(){Yourcode……}}*****************************图像获得*******************************************************************行中断*****************************************#pragmaCODESEGNEARSEGNONBANKEDvoidinterruptPortinterrupt(void){TFLG=x清除行中断标志if(gSampleFlag==){return}asm{movbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRFmovbPTIM,BUFFADDRF}gSampleFlag=}**********场中断处理******************************************#pragmaCODESEGNEARSEGNONBANKEDvoidinterruptPortinterrupt(void){TFLG=xgSampleFlag=}

用户评价(0)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

文档小程序码

使用微信“扫一扫”扫码寻找文档

1

打开微信

2

扫描小程序码

3

发布寻找信息

4

等待寻找结果

我知道了
评分:

/7

摄像头程序

VIP

在线
客服

免费
邮箱

爱问共享资料服务号

扫描关注领取更多福利