
PISO-CANFD series CAN FD card User Manual (version 1.0.0)
Page: 40
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved.
E-mail: [email protected]
3.1.4. CANFD_GetCardBoardSwitchNo
Description
This function is used to retrieve the current configuration of the DIP switch (SW1) on the
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.
BoardSwitchNo
[out] Indicates the address of a variable used to retrieve the current
configuration of the DIP switch (SW1) on the PISO-CANFD series board.
Return Value
If the function succeeds, the return value will be 0.
If the function fails, refer to Section 3.6 Error Code Definitions.
C#
Int16 CANFD_GetCardBoardSwitchNo(
Byte BoardNo,
out Byte BoardSwitchNo
);