检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李锐[1]
机构地区:[1]南京邮电大学电子科学与工程学院,江苏南京210003
出 处:《现代电子技术》2010年第14期37-39,48,共4页Modern Electronics Technique
摘 要:讨论了NiosⅡ软核的串口直接读写寄存器方式的编程方法,并给出了参考源代码。它与C语言的标准输入/输出语句相比,可极大地缩短程序执行时间,并使得CPU能同时处理其他事务。根据此代码编写了应用测试程序,并进行了测试。测试结果显示串口通信运行良好,较为稳定。The derieet-register access program of serial communication based on Nios II soft core is discussed. The reference source code is also presented. In comparison with the traditional standard C input and output program, the deriect- register access program can greatly reduce the excution time of the program and release CPU to process the other affair. According to the source code, the test code is programed and run in the hardware. The experiment result shows that the serial communication program runs well and stable.
关 键 词:UART NiosⅡ SOPC Register-access
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.147