_CreateSingleIdReceiver (FUN) ¶ FUNCTION _CreateSingleIdReceiver : CAA.HANDLE Unmanaged implementation of CreateSingleIdReceiver InOut: Scope Name Type Comment Return _CreateSingleIdReceiver CAA.HANDLE new receiver handle or CAA.gc_hINVALID in case of failure Input hDriver CAA.HANDLE handle of CAN interface cobId CL2I.COBID id of message to be received xRTR BOOL RTR bit x29BitId BOOL 29 Bit Id xTransmit BOOL Transmit message xAlwaysNewest BOOL TRUE: returns only the newest message; FALSE: receiver with queue. eEvent CB.EVENT trigger event when message received xEnableSyncWindow BOOL use SYNC window: not implemented ==> do not care peError POINTER TO ERROR optional pointer to error enum
_DeleteReceiver (FUN) ¶ FUNCTION _DeleteReceiver : ERROR Unmanaged implementation of DeleteReceiver InOut: Scope Name Type Comment Return _DeleteReceiver ERROR ERROR.NO_ERROR or appropriate error code Input hReceiverId CAA.HANDLE handle of receiver
_DriverClose (FUN) ¶ FUNCTION _DriverClose : ERROR Unmanaged implementation of DriverClose InOut: Scope Name Type Comment Return _DriverClose ERROR ERROR.NO_ERROR or appropriate error code Input hDriver CAA.HANDLE handle of CAN interface
_DriverGetSize (FUN) ¶ FUNCTION _DriverGetSize : CAA.SIZE See DriverGetSize . InOut: Scope Name Type Comment Return _DriverGetSize CAA.SIZE Required memory size for _DriverOpenP Input usiNetId USINT xSupport29Bit BOOL ctMessages CAA.COUNT peError POINTER TO ERROR
_DriverOpenH (FUN) ¶ FUNCTION _DriverOpenH : CAA.HANDLE Unmanaged implementation of DriverOpenH InOut: Scope Name Type Comment Return _DriverOpenH CAA.HANDLE handle of CAN interface or CAA.gc_hINVALID if failed. Input usiNetId USINT number of CAN network [0..n] uiBaudrate UINT Baudrate in kBit/s xSupport29Bits BOOL FALSE: only 11-Bit IDs, TRUE: support also 29-Bit ctMessages CAA.COUNT number of transmit messages which should be allocated peError POINTER TO ERROR optional pointer to error enum
_DriverOpenP (FUN) ¶ FUNCTION _DriverOpenP : CAA.HANDLE Unmanaged implementation of DriverOpenP InOut: Scope Name Type Comment Return _DriverOpenP CAA.HANDLE Input usiNetId USINT number of CAN channel uiBaudrate UINT baudrate in kBit/s xSupport29Bits BOOL FALSE: only 11-Bit IDs, TRUE: support also 29-Bit szMemSize CAA.SIZE size of allocated memory pMemory CAA.PVOID pointer to memory peError POINTER TO ERROR
_FreeMessage (FUN) ¶ FUNCTION _FreeMessage : ERROR Unmanaged implementation of FreeMessage InOut: Scope Name Type Comment Return _FreeMessage ERROR ERROR.NO_ERROR or appropriate error code Input hMessage CAA.HANDLE handle of message to be freed
_Read (FUN) ¶ FUNCTION _Read : CAA.HANDLE Unmanaged implementation of Read InOut: Scope Name Type Comment Return _Read CAA.HANDLE handle of received CAN message or CAA.gc_hINVALID if receiver is empty. Input hReceiverId CAA.HANDLE receiver handle pctMsgLeft POINTER TO CAA.COUNT Optional pointer to ctMsgLeft . After calling CL2.Read ctMsgLeft contains the number of remaining messages in receive queue. peError POINTER TO ERROR optional pointer to error enum
_ReadArrayReceiver (FUN) ¶ FUNCTION _ReadArrayReceiver : CAA.HANDLE Reads messages from an Array Receiver created by _CreateArrayReceiver InOut: Scope Name Type Comment Return _ReadArrayReceiver CAA.HANDLE handle of received CAN message or CAA.gc_hINVALID if receiver is empty. Input hArrayReceiver CAA.HANDLE handle of array receiver ctIndex CAA.COUNT specifies the array entry which should be read pctMsgLeft POINTER TO CAA.COUNT returns number of messages currently in the receiver peError POINTER TO ERROR optional pointer to error enum
_RegisterIdArea (FUN) ¶ FUNCTION _RegisterIdArea : ERROR Unmanaged implementation of RegisterIdArea InOut: Scope Name Type Comment Return _RegisterIdArea ERROR ERROR.NO_ERROR or appropriate error code Input hReceiverId CAA.HANDLE Handle from CreateIdAreaReceiver cobIdStart CL2I.COBID start id of message to be received cobIdEnd CL2I.COBID end id of message to be received xRTRValue BOOL Value RTR bit xRTRMask BOOL Mask RTR bit x29BitIdValue BOOL Value 29 Bit Id x29BitIdMask BOOL Mask 29 Bit Id xTransmitValue BOOL Value Transmit message xTransmitMask BOOL Mask Transmit message