
Chapter 6 Software Installation and
Programming Guide
6.1. CAN bus
6.1.1 Overview
The CAN bus APIs provide interfaces to CAN bus subsystem. By invoking these APIs, programmers
can implement the applications which have the functions listed below:
1.
Set the BAUD rate.
2.
Send the CAN packages over the CAN bus.
3.
Receive the CAN packages via the CAN bus hardware interface.
4.
Set the CAN package filter to selectively receive CAN packages with specific ID.
5.
Set the mask bits to selectively make some filter bits take effect.
In folder ‘ARV6005\Utility\Source’ on the CD, we provides:
1.
API header file.
2.
API library in static library format and shared library format.
3.
Test utility and its source code.
6.1.2 CAN Message Format
// TYPE DEFINITION
typedef char i8;
typedef unsigned char u8;
typedef short i16;
typedef unsigned short u16;
typedef unsigned long u32;
typedef int i32;
struct CanMsg {
u32 id;
u8 id_type;
u8 length;
u8 data[8];
}
47
Содержание AR-B6005
Страница 1: ...1 AR B6005 Board User Manual ...
Страница 8: ...2 2 Locations of I O ports Jumper settings definition 8 ...
Страница 20: ...3 3 Superio Setup 20 ...
Страница 23: ...3 5 Boot setup Choice boot priority 23 ...
Страница 34: ...Driver Page This is the Driver Installation Page 34 ...
Страница 35: ...Click the icon all the drivers will be selected 35 ...
Страница 36: ...Click the icon all selected items will be cleared 36 ...
Страница 38: ...Please click Yes to restart the system 38 ...
Страница 43: ...Documents Page Double click on one of the items to open the manual 43 ...
Страница 46: ... When the screen shows this information press Enter to continue installing the operating system 46 ...