文件名称:serial
介绍说明--下载内容均来自于网络,请自行研究使用
本实验是一个串口通信实验。程序通过函数set_speed设置串口通信速率,通过函数set_Parity设置串口数据位,停止位和效验位,通过函数OpenDev打开串口。实验者可以在主机键盘输入字符串,程序对接收到的字符串计算字符串长度,发往串口,并将该字符串也发往串口。
开发环境:
创维特CVTs3c2410
Redhat9.0-This experiment is a serial communication experiment. Procedures set by serial communication function set_speed rate set by the function set_Parity serial data bits, stop bits and efficacy bits through a function OpenDev open serial port. Experimenter in the host keyboard input string, the program calculated the received string length of the string, sent to the serial port, and the string is also sent to the serial port. Development Environment: Create Witte CVTs3c2410 Redhat9.0
开发环境:
创维特CVTs3c2410
Redhat9.0-This experiment is a serial communication experiment. Procedures set by serial communication function set_speed rate set by the function set_Parity serial data bits, stop bits and efficacy bits through a function OpenDev open serial port. Experimenter in the host keyboard input string, the program calculated the received string length of the string, sent to the serial port, and the string is also sent to the serial port. Development Environment: Create Witte CVTs3c2410 Redhat9.0
(系统自动生成,下载前可以参看下载内容)
下载文件列表
serial.txt