Software
SYS TEC electronic GmbH 2001 L-487e_6
37
UcanDeinitHardware
Syntax:
BYTE STDCALL UcanDeinitHardware
(tUcanHandle UcanHandle_p);
Usability:
HW_INIT
Parameter:
UcanHandle_p: USB-CAN handle received with the function
UcanInitHardware ().
Return values: Error code of the function.
USBCAN_SUCCESSFUL
USBCAN_ERR_MAXINSTANCES
USBCAN_ERR_ILLHANDLE
Description:
Shuts down an initialized USB-CANmodul. The software returns to
the state DLL_INIT. After the function call, the USB-CAN handle is
not valid. That means, execution of the valid functions (see Table 4)
for HW_INIT is no longer possible.
Note:
This function has to be called before closing the
application, otherwise other applications are no longer
able to access this specific USB-CANmodul.