PISO-CANFD series CAN FD card User Manual (version 1.0.0)
Page: 32
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved.
E-mail: [email protected]
3.2. API Library Function Table
All the functions provided in the pisocanfd API library are listed in the following
table.
System Information API
Function
Description
CANFD_GetDllVersion
Used to retrieve the version number for the function library
file
currently installed on the PISO-CANFD series board
CANFD_GetBoardInf
Used to retrieve PCI information related to a selected
PISO-CANFD series board, including the vendor ID, device ID,
sub-vendor ID, sub-device ID, sub-auxiliary ID, logical interrupt
number, board ID and board switch number.
CANFD_TotalBoard
Used to retrieve the total board number of PISO-CANFD series
boards installed in the Host PC
CANFD_GetCardBoardSwitchNo
Used to retrieve the switch (SW1) number for the selected
PISO-CANFD series board
CANFD_GetCardBoardID
Used to retrieve the card ID for the selected PISO-CANFD
series board
CANFD_GetCardPortNum
Used to retrieve the total CAN port number of the selected
PISO-CANFD series board
CANFD_GetCardFPGAFWVer
Used to get the FPGA firmware version of the selected
PISO-CANFD series board
CANFD_ActiveBoard
Used to activate the selected PISO-CANFD series board
CANFD_CloseBoard
Used to deactive the selected PISO-CANFD series board
CANFD_BoardIsActive
Used to check whether or not the selected PISO-CANFD series
board is active
CAN Bus API
Function
Description
CAN Reset, Initialize function
CANFD_Reset
Used to reset the CAN controller on the selected PISO-CANFD
series board
CANFD_Init
Used to initialize the CAN port function on the selected PISO-CANFD
series board
CAN bit rate configuration functions
CANFD_SetBitRate
Used to set the bit rate configuration for the CAN port on the selected
PISO-CANFD series board
CANFD_SetBitRateWithSP
Used to set the bit rate and baudrate sample point configuration for
the CAN port on the selected PISO-CANFD series board