I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)
Page: 63
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.6.3 CANFD_SetCANHWSendMode
This function is used to enable or disable CAN/CAN FD message sending in the
assigned CAN port by using module hardware timer and it will be more precise than PC
software timer.
Syntax:
C++
int CANFD_SetCANHWSendMode(WORD i_wDevice_id, BYTE i_byCANPort, BYTE
i_byMode);
C#
Int32 CANFD_SetCANHWSendMode(UInt16 i_wDevice_id, Byte i_byCANPort, Byte
i_byMode);
Parameter:
i_wDevice_id
[in]
The assigned device ID of the I-7565M-FD device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-FD device.
i_byMode
[in]
Enable or disable CAN/CAN FD message sending in the assigned CAN port
by using module hardware timer.
0: disable CAN/CAN FD message sending by using module hardware timer.
1: enable CAN/CAN FD message sending by using module hardware timer.
Return Value:
Return 0 means success, others means failure.