USB-CANmodul
40
SYS TEC electronic GmbH 2001 L-487e_6
UcanDeinitCan
Syntax:
BYTE STDCALL UcanDeinitCan (tUcanHandle UcanHandle_p);
Usability:
CAN_INIT
Parameter:
UcanHandle_p: USB-CAN handle received with the function
UcanInitHardware ().
Return value: Error code of the function.
USBCAN_SUCCESSFUL
USBCAN_ERR_MAXINSTANCES
USBCAN_ERR_ILLHANDLE
USBCAN_ERR_CANNOTINIT
USBCAN_ERR_BUSY
USBCAN_ERR_IOFAILED
USBCAN_ERRCMD_NOTEQU
USBCAN_ERRCMD_ILLCMD
Description:
Shuts down the CAN interface of a USB-CANmodul. This function
sets the operating voltage of the CAN controller to 0 V. After calling
this function, all CAN messages transferred on the CAN bus are
ignored and not transferred to the PC.