No.6019 作者:amingc76 邮件:amingc76@163.com ID:5958 登陆:3次 文章数:8篇 最后登陆IP:61.141.153.146 最后登陆:2005/1/4 16:36:48 注册:2001/12/6 13:19:00 财富:41 发帖时间:2002/3/5 11:57:00 发贴者IP:218.16.52.250 标题:amingc76:C51编程:老古请看 摘要:No.6019C51编程:老古请看 使用mcu对rtl8019进行dma 操作时,能不能被中断,执行对其他外部RAM 的读写。 如:在执行下面的writw_dam()时,有一个中断程序,执行外部RAM 的些操作。 这样会影响dam操作吗? {uchar xdata in; uchar xdata out; uchar i; for (i=0;i<8;i++) { in=out; } ..... } void write_dma(unsigned int address,unsigned int count)//写网卡的ram {//address为要写入到网卡里的ram的起始地址,count为要连续写入的字节数 page(0); reg ......
>>返回讨论的主题
|