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
);
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
DWORD
DWORD
} _VCI_CAN_FilterID, *PVCI_CAN_FID;
SSFF_Num
GSFF_Num
SEFF_Num
GEFF_Num
SSFF_FID[512]
GSFF_FID[512]
SEFF_FID[512]
GEFF_FID[512]
I-7565-H1/H2 High Performance USB/CAN Converter User's Manual (Ver 1.7, Aug/2011) ------------- 50
pCANFID
GSFF_FID[512];
SEFF_FID[512];
GEFF_FID[512];
: Single 11-bit CAN Filter-ID number
: Group 11-bit CAN Filter-ID number
: Single 29-bit CAN Filter-ID number
: Group 29-bit CAN Filter-ID number
: Single 11-bit CAN Filter-ID data array
: Group 11-bit CAN Filter-ID data array
: Single 29-bit CAN Filter-ID data array
: Group 29-bit CAN Filter-ID data array