Development Of Serial Interface Applications - Embest SBC8600B User Manual

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

Embest Technology Co., Ltd
The TRIPLE-SAMPLING in the above information is one of three CAN controller
modes, the other two modes are LOOPBACK and LISTEN-ONLY; ERROR-ACTIVE is
one of five statuses of CAN controller, the other four are ERROR-WARNING,
ERROR-PASSIVE,
http://blog.csdn.net/zhangxiaopeng0829/article/details/7646639
about SocketCAN.
4) Type 1 at the transmitting end and press Enter key to send data, and then type 2
at the receiving end and press Enter key to receive data; The information in
HyperTerminal window is shown below;
111 [8] 11 22 33 44 55 66 77 88
111 [8] 11 22 33 44 55 66 77 88
111 [8] 11 22 33 44 55 66 77 88

3.12.3 Development of Serial Interface Applications

The following table lists the header files required for operations on serial interfaces;
Table 3-7 Header
Header Files
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
1) Opening Serial Interfaces;
The file for serial interfaces under Linux is saved in /dev; By using standard "Open"
function, serial interface can be opened;
For example:
Copyright © 2017 Embest Technology
BUS-OFF
and
Files Related to Serial Interfaces
Descriptions
Standard input/output definition
Standard function library definition
UNIX standard function definition
File control definition
PPSIX terminal control definition
STOPPED.
Please
for more information
SBC8600B-UM-V2.0
98
visit

Advertisement

Table of Contents
loading

Table of Contents