![ICP DAS USA I-7565M-HS User Manual Download Page 36](http://html2.mh-extra.com/html/icp-das-usa/i-7565m-hs/i-7565m-hs_user-manual_3630632036.webp)
I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Page: 36
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.2. API Library Function Table
All the API functions provided in the CAN_HS library are listed in the following table.
“Init” Function Table
No.
Function Name
Description
1
CANHS_ScanDevice
Scan all the valid device from the PC
2
CANHS_ListDevice
List all the valid devices to a pid/vid table
3
CANHS_OpenDevice
Open a necessary device via pid/vid setting.
4
CANHS_CloseDevice
Close a selected device.
“Module Configuration” Function Table
No.
Function Name
Description
1
CANHS_SetCANOPMode
Set the enable/silent mode in the assigned
CAN port
2
CANHS_GetCANOPMode
Get the enable/silent mode in the assigned
CAN port
3
CANHS_SetCANBaudSP
Set the current baud rate and sample point in
the assigned CAN port
4
CANHS_GetCANBaudSP
Get the current baud rate and sample point
in the assigned CAN port
5
CANHS_GetCANBaudSPEEP
Get the baud rate and sample point of
EEPROM setting in the assigned CAN port
6
CANHS_SetCANFilter
Set the hardware CAN ID filter setting in the
assigned CAN port
7
CANHS_GetCANFilter
Get the hardware CAN ID filter setting in the
assigned CAN port
8
CANHS_SetCANWhiteListMode
Set the firmware CAN whitelist ID filter mode
in the assigned CAN port
9
CANHS_GetCANWhiteListMode
Get the firmware CAN whitelist ID filter mode
in the assigned CAN port
10
CANHS_SetCANBlackListMode
Set the firmware CAN blacklist ID filter mode
in the assigned CAN port
11
CANHS_GetCANBlackListMode
Get the firmware CAN blacklist ID filter mode
in the assigned CAN port
12
CANHS_SetCANWhiteListCANID
Set the firmware CAN whitelist ID filter value
in the assigned CAN port
13
CANHS_GetCANWhiteListCANID
Get the firmware CAN whitelist ID filter value
in the assigned CAN port
14
CANHS_SetCANBlackListCANID Set the firmware CAN blacklist ID filter value