作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (10): 245-247. doi: 10.3969/j.issn.1000-3428.2010.10.085

• 工程应用技术与实现 • 上一篇    下一篇

基于链表结构的同步串行驱动软件设计

相 晖,王学宝   

  1. (江苏自动化研究所,连云港 222006)
  • 出版日期:2010-05-20 发布日期:2010-05-20

Design of Synchronous Serial Driving Software Based on Chain Structure

XIANG Hui, WANG Xue-bao   

  1. (Jiangsu Automation Research Institute, Lianyungang 222006)
  • Online:2010-05-20 Published:2010-05-20

摘要: 介绍一种高性能串行通信芯片PEB20534的工作原理及其使用方法,从硬件角度解析其多级FIFO、DMA控制和中断系统,讨论软件设计中的链表结构初始化和中断处理过程,并给出具体设计流程。利用该技术开发的基于链表结构的同步串行通信板具有工作稳定、数据传输可靠、工作模式随意配置等优点。

关键词: 驱动软件, 同步串, 链表结构

Abstract: A basic principle of PEB20534 is presented. The structure of multilevel FIFO, DMA controller and the interrupt system are discussed. It emphasizes on the discussion of software design, including the initialization of chain structure and interrupt processing. The technology is used for asynchronous serial port driving software based on WDM mode. It not only meets the requirements of serial port communication, but also ensures the correctness of data packet transmission with serial port.

Key words: driving software, synchronous serial port, hain structure

中图分类号: