摘要
针对串口通信的数据接收方式,提出了一种基于帧与帧之间的时间间隔判断帧结束的方法,详细介绍了其原理和实现方式,并给出在STM32F103上的C语言实现代码。经过实际使用验证,该设计稳定可靠。
According to data receiving way of serial communications, I put forward a new past frame way upon interval, explain particularly its principle and realized way and its code of C language in STM32F103. Through the actual use and con- stant validation, this design is stable and reliable.
出处
《电脑编程技巧与维护》
2012年第20期91-92,140,共3页
Computer Programming Skills & Maintenance