I-button function, Api list and descriptions, Can bus – Acrosser AIV-HM76V1FL User Manual
Page 50
AIV-HM76V1FL Series User Manual
50
Acrosser Technology Co., Ltd.
The power subsystem connects to the main system via the COM port. On the
Linux platform, the actual port number to which the Power Subsystem connects
is determined by the Linux. The default supported COM interfaces on Linux are
COM1~COM4. Users must take extra steps to configure Linux kernel in order to
support COM ports which do not fall into the range COM1 ~ COM4. Please refer to
Appendix A for more information. Users don’t need extraordinary setup on Windows
platform to support COM ports.
5.1.4. I-Button Function
In the API library, we provide a set of I-Button functions. Users can use the functions
to:
1. Reset the I-Button.
2. Read data from the I-Button.
3. Write data to the I-Button.
5.2. API List and Descriptions
5.2.1. CAN Bus
Syntax:
i32 getCanFwVer(PicInfo *ver)
Description:
This function gets the version information of the CAN Bus
firmware.
Parameters:
The definition of struct ‘PicInfo’ is:
struct PicInfo {
u8 info[12];
}
This API returns the version information and store the
information in the memory which is pointed at by the
pointer ‘ver’.
Return Value:
If this function gets the version information successfully, it
returns 0, any other returned value stands for error.