Software
SYS TEC electronic GmbH 2001 L-487e_6
31
The number of functions differs in different software states. For
example, the function UcanWriteCanMsg () causes an error at the
state DLL_INIT. Table 4 shows the different functions within each
state.
If several USB-CANmoduls are used in one application, these states
have to be considered for each USB-CANmodul that is used. If the
first USB-CANmodul is in the state CAN_INIT, the second one can
still be in the DLL_INIT state.
State Functions
DLL_INIT UcanGetVersion ()
UcanInitHwConnectControl ()
UcanInitHardware ()
UcanDeinitHwConnectControl ()
HW_INIT UcanGetVersion ()
UcanGetHardwareInfo ()
UcanGetStatus ()
UcanInitCan ()
UcanDeinitHardware ()
CAN_INIT UcanGetVersion ()
UcanGetHardwareInfo ()
UcanGetStatus ()
UcanSetBaudrate ()
UcanSetAcceptance ()
UcanResetCan ()
UcanReadCanMsg ()
UcanWriteCanMsg ()
UcanDeinitCan ()
Table 4: Software State Functions