No.11731 作者:seandy 邮件:ljh197@163.com ID:97 登陆:29次 文章数:142篇 最后登陆IP:218.194.35.40 最后登陆:2004/2/27 16:11:08 注册:2003/3/11 20:40:00 财富:440 发帖时间:2002/9/30 8:20:00 发贴者IP:202.115.22.194 标题:seandy:C51编程:各位高手们,麻烦看一下老古网站上的有关RTL8019AS的代码。我真的搞不懂了! 摘要:No.11731C51编程:各位高手们,麻烦看一下老古网站上的有关RTL8019AS的代码。我真的搞不懂了! void write_dma(unsigned int address,unsigned int count)//写网卡的ram {//address为要写入到网卡里的ram的起始地址,count为要连续写入的字节数 page(0); reg09=address>>8;//address high reg08=address&0xff;//address low reg0b=count>>8; //write count high reg0a=count&0xff;//write count low reg00=0x12 ;//dma write for(i=0;i<count;i++) { reg10=buffer[ ......
>>返回讨论的主题
|