| 注册
首页|期刊导航|单片机与嵌入式系统应用|LPC2365的μC/OS—Ⅱ下多串口通信编程

LPC2365的μC/OS—Ⅱ下多串口通信编程

陶德桂 王成军 刘关心

单片机与嵌入式系统应用2012,Vol.12Issue(8):26-29,4.
单片机与嵌入式系统应用2012,Vol.12Issue(8):26-29,4.

LPC2365的μC/OS—Ⅱ下多串口通信编程

Multi-serial Communication Programming in μC/OS-Ⅱ Based on LPC2365

陶德桂 1王成军 1刘关心1

作者信息

  • 1. 中国人民解放军92419部队
  • 折叠

摘要

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.

单片机与嵌入式系统应用

OACSTPCD

1009-623X

访问量0
|
下载量0
段落导航相关论文