-
16550串口代码
16550串口代码-serial code 16550
- 2022-03-01 14:44:59下载
- 积分:1
-
用来模拟PC机的串口,实现各种串口数据读写的功能!
用来模拟PC机的串口,实现各种串口数据读写的功能!-used to simulate the PC serial port, serial data of various functional literacy!
- 2022-10-11 01:40:03下载
- 积分:1
-
从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的...
从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的接收,其实就是第一种方法的变种: 一个侦听EV_RXCHAR,一个对EV_RXCHAR进行分析,其实就是超时判断。如果接收到一个消息后,一段时间没收到下一个EV_RXCHAR,就认为是一个数据包的结束。这个线程就会通知数据接收线程,进行数据接收。一般同一包数据,两个字符之间的时间间隔,应该很小了吧,而两个数据包之间的间隔,应该不会太小吧!(这个地方我不清楚,猜的:( :) )最后一个线程,是接收数据的。-read data from the serial port, there are two methods, one, each receiving a EV_RXCHAR, on the ReadFile read, I think this vote. 2, received a EV_RXCHAR after a certain volume of data, such as CPU cycles (GetTickCount), and the one-time reader, the data buffer. To do so, under normal circumstances there is no problem, but if many of the data, and after a "certain amount of data the CPU cycles," also confiscated End Data how do? Few will read the data. I used three lines to complete serial data reception, the first method is a variant : an interception EV_RXCHAR, one pair of EV_RXCHAR analys
- 2023-03-23 09:55:03下载
- 积分:1
-
UART双机通讯范例,采用中断方式,请大家试一下,多提意见
UART双机通讯范例,采用中断方式,请大家试一下,多提意见-Dual UART communications paradigm, using interrupted, please everyone try and opinions
- 2022-03-22 15:14:32下载
- 积分:1
-
简单的串口通信程序!通过按键来实验是否将主机中相应缓冲区中的内容传送给从机!主机状态改变,按键传输时,从机状态也将改变!...
简单的串口通信程序!通过按键来实验是否将主机中相应缓冲区中的内容传送给从机!主机状态改变,按键传输时,从机状态也将改变!-Simple serial communication program! Through the keys to the experiment whether or not to host the corresponding buffer content transmitted to the slave! Host state changes, button transmission, from the state machine will change!
- 2022-08-13 10:39:35下载
- 积分:1
-
humanized reader interface development is busload 0800
Z8读卡器开发接口,就是公交车上刷卡那种,含VB和VC源码,有兴趣的朋友可以来看看哦。-humanized reader interface development is busload 0800-099799 kind, including VB and VC source, Interested friends can view flash open her cloak.
- 2023-02-28 12:30:03下载
- 积分:1
-
AS6600FM used in Mountain View, on the initialization procedure, better than 576...
AS6600FM用在山景上初始化程序,效果比5767好!谢谢参考!-AS6600FM used in Mountain View, on the initialization procedure, better than 5767 better! Thank you for reference!
- 2022-01-28 09:00:20下载
- 积分:1
-
非常实用的串口通信程序 并且在中间使用了托盘技术 (站长,源程序个数怎么计算啊,其实这里面含有两个源程序,一个是串口通信,一个是托盘程序 )...
非常实用的串口通信程序 并且在中间使用了托盘技术 (站长,源程序个数怎么计算啊,其实这里面含有两个源程序,一个是串口通信,一个是托盘程序 )-very practical serial communication procedures and the use of in the middle of the tray technology (head source Number how calculated ah, actually it contains two sources, one serial port communications, a procedure tray)
- 2022-05-25 10:05:06下载
- 积分:1
-
SPI读写,通过RS232协议传输!弹片机读写!
SPI读写,通过RS232协议传输!弹片机读写!-err
- 2023-02-07 08:40:04下载
- 积分:1
-
windows串口通信编程的源码。非常实用。
windows串口通信编程的源码。非常实用。-windows serial communication programming source. Very practical.
- 2022-01-21 17:35:58下载
- 积分:1