5.5 Module Config Function
These functions are used to set / get the parameters or information of
I-7565-H1/H2.
5.5.1 VCI_Set_CANFID
This function is used to set CAN Filter-ID in the assigned CAN port.
Syntax :
int
VCI_Set_CANFID (
BYTE
CAN_No,
PVCI_CAN_FID
pCANFID
);
Parameter :
CAN_No
:
[in] The assigned CAN port number.
pCANFID
:
[in] A structure pointer of _VCI_CAN_FilterID is used to set the CAN
Filter-ID data shown as below.
typedef struct _VCI_CAN_FilterID{
WORD
SSFF_Num;
WORD
GSFF_Num;
WORD
SEFF_Num;
WORD
GEFF_Num;
WORD
SSFF_FID[512];
DWORD GSFF_FID[512];
DWORD SEFF_FID[512];
DWORD GEFF_FID[512];
} _VCI_CAN_FilterID, *PVCI_CAN_FID;
SSFF_Num
:
Single 11-bit CAN Filter-ID number
GSFF_Num
:
Group 11-bit CAN Filter-ID number
SEFF_Num
:
Single 29-bit CAN Filter-ID number
GEFF_Num
:
Group 29-bit CAN Filter-ID number
SSFF_FID[512]
:
Single 11-bit CAN Filter-ID data array
GSFF_FID[512]
:
Group 11-bit CAN Filter-ID data array
SEFF_FID[512]
:
Single 29-bit CAN Filter-ID data array
GEFF_FID[512]
:
Group 29-bit CAN Filter-ID data array
I-7565-H1/H2 High Performance USB/CAN Converter User’s Manual (Ver 1.7, Aug/2011) ------------- 50