摘要
介绍了将windows系统中消息机制的概念推广到单片机的C5 1编程中 ,通过实例说明了这种方法可以解决多事件的实时响应和耗时事件处理的矛盾 ,极大地提高了代码的可重用性 。
This paper introduces windows system of message concept that has been applied to programming of single-chip computer. This method may resolve the contradiction between multi-event of real-time response and the cost time event handling. T his method may greatly improve the position quality of code and averts the code reentrance faults.
出处
《机械制造与自动化》
2003年第4期66-67,71,共3页
Machine Building & Automation
关键词
单片机
消息处理
多事件
实时控制
single-chip computer
message processing
multi-eve nt
real-time control