单片机与嵌入式系统应用2012,Vol.12Issue(8):26-29,4.
LPC2365的μC/OS—Ⅱ下多串口通信编程
Multi-serial Communication Programming in μC/OS-Ⅱ Based on LPC2365
摘要
Abstract
Multi-serial communication programming method in embedded real-time operating system μC/OS-Ⅱ is introduced, taking LPC2365 as core processor. For fixed-length short-byte frame data, one depth interruption is triggered to finish data receving task through setting suitable bytes. For variable length long-byte frame data, multiple interruptions and time delay are used to determine data stability and receive frame data. For the receiving and sending of large amounts data. FIFO data queues are established. By using the methods, the communication tasks of multi-serial and abundant data are realized well.关键词
嵌入式系统/实时操作系统/互斥信号量/数据队列Key words
embedded system/real time operating system/mutual exclusion semaphores/data queue分类
电子信息工程引用本文复制引用
陶德桂,王成军,刘关心..LPC2365的μC/OS—Ⅱ下多串口通信编程[J].单片机与嵌入式系统应用,2012,12(8):26-29,4.