摘要: TIMER_Handle TimerHandle0;void timer1(){////////////定时器///////////////////////TimerHandle0 = TIMER_open(TIMER_DEV0, TIMER_OPEN_RESET); IRQ_setVecs(vec... 阅读全文
posted @ 2013-09-10 14:35 毛毛虫的薄刻 阅读(188) 评论(0) 推荐(0) 编辑
摘要: void fifoint_isr(); extern far void vectors(); void int_init(){IRQ_resetAll();IRQ_setVecs(vectors);IRQ_nmiEnable();IRQ_globalEnable();//IRQ_reset(IRQ_... 阅读全文
posted @ 2013-09-10 14:34 毛毛虫的薄刻 阅读(195) 评论(0) 推荐(0) 编辑
摘要: void VP1_EDMA(int displayMode,unsigned int w,unsigned int h){ unsigned int i=0,k=0;EDMA_Handle handle;EDMA_Handle handle2;EDMA_Config myEdmaConfig; ha... 阅读全文
posted @ 2013-09-10 14:32 毛毛虫的薄刻 阅读(170) 评论(0) 推荐(0) 编辑
摘要: void wirteEPROM(){//#include unsigned short bufeprom[30],i,val;FILE *fp; fp = fopen("d:\\cpci6370.eep","rt+");i=0;i= PCI_eepromTest();i= PCI_eepromSi... 阅读全文
posted @ 2013-09-10 14:30 毛毛虫的薄刻 阅读(106) 评论(0) 推荐(0) 编辑
摘要: void CTextOnbmpDlg::OnButton2() {// TODO: Add your control notification handler code hereFILE *fp=fopen("d:\\temp\\pic16001200\\000.bmp", "rb"); if(fp... 阅读全文
posted @ 2013-09-10 08:30 毛毛虫的薄刻 阅读(130) 评论(0) 推荐(0) 编辑