![ICP DAS USA I-7565M-HS User Manual Download Page 47](http://html2.mh-extra.com/html/icp-das-usa/i-7565m-hs/i-7565m-hs_user-manual_3630632047.webp)
I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Page: 47
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.5.5 CANHS_GetCANBaudSPEEP
This function is used to get the CAN Bus baud rate and sample point of bit timing
setting in the assigned CAN port of the I-7565M-HS device’s EEPROM.
Syntax:
C++
int CANHS_GetCANBaudSPEEP(WORD i_wDevice_id, BYTE i_byCANPort, DWORD
*o_dwBR, DWORD *o_dwSP);
C#
Int32 CANHS_GetCANBaudSPEEP(UInt16 i_wDevice_id, Byte i_byCANPort, out
UInt32 o_dwBR, out UInt32 o_dwSP);
Parameter:
i_wDevice_id
[in]
The assigned device ID
of the I-7565M-HS device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-HS device.
*o_dwBR
[out]
The CAN Bus baud rate in the assigned CAN port of the I-7565M-HS
device’s EEPROM.
Uint: bps (bit per second), 1000000 means 1000000 bps.
*o_dwSP
[out]
The sample point of CAN baud rate bit timing in the assigned CAN port of
the I-7565M-HS device’s EEPROM.
Unit: 0.01%, 7500 means 75.00%
Return Value:
Return 0 means success, others means failure.