首页 | 本学科首页   官方微博 | 高级检索  
     

事件驱动的C51单片机编程模型
引用本文:庞胜利.事件驱动的C51单片机编程模型[J].电脑编程技巧与维护,2009(2):68-71.
作者姓名:庞胜利
作者单位:西安邮电学院,继职学院,西安,710061
摘    要:C语言是嵌入式软件开发的主流语言,分析了C语言在C51系列单片机开发中的必要性和编程要点,特别是高级数据结构和程序库的应用。事件驱动是一种不同于逐句执行的线性结构程序的编程模型,并在Windows、Linux等高级操作系统中得到普遍应用;用C语言实现了在C51单片机应用中的事件驱动模型,讨论了事件源、消息队列、处理函数的具体实现,此模型具有较强的通用性和实用性。

关 键 词:事件驱动  事件源  消息队列  数据结构

Program Model for C51 Based on Event-driven
PANG Shengli.Program Model for C51 Based on Event-driven[J].Computer Programming Skills & Maintenance,2009(2):68-71.
Authors:PANG Shengli
Affiliation:PANG Shengli (Adult and Trainning academy ,Xi'an Institute of Post & Telecommunications, Xi'an 710061)
Abstract:C language is the mainstream language for embedded system software development.This paper analyzes the ne-cessity and the program outline of using C language in C51 series singlechip programming,especially the application of ad-vanced data structures and program library.Event-driven model is different from the step by step executive program,and obtains universal application on the advanced operating system such as on Windows and Linux.This paper realized an event-driven model application in C51 singlechip with C language,and described the implement of event source,message queue,handling function;this model is universal and practical.
Keywords:event-driven  event source  message queue  data structure  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号