PISO-CANFD series CAN FD card User Manual (version 1.0.0)
Page: 67
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved.
E-mail: [email protected]
3.2.14. CANFD_GetISOCRCEn
Description
This function is used to get the ISO/Non-ISO CRC setting of the CAN port on a
specified PISO-CANFD series board
Syntax
Parameters
BoardNo
[in] Specifies the number of the PISO-CANFD series board to be read. The valid
range is 0 to 15.
Port
[in] Specifies the number of the CAN port, where:
1: CAN port 1
2: CAN port 2.
3: CAN port 3.
4: CAN port 4.
ISOCRCEn
[out] Indicates the address of a variable used to retrieve the CAN port is enable
or disable ISO CRC in CAN FD Frames bit or not.
ISOCRCEn
Description
0
Do NOT include Stuff Bit Count in CRC Field and use CRC
Initialization Vector with all zeros
1
Include Stuff Bit Count in CRC Field and use Non-Zero CRC
Initialization Vector according to ISO 11898-1:2015
C#
Int16 CANFD_GetISOCRCEn(
Byte BoardNo,
Byte Port,
out Byte ISOCRCEn
);