_Write (FUN) ¶ FUNCTION _Write : ERROR Unmanaged implementation of Write InOut: Scope Name Type Comment Return _Write ERROR ERROR.NO_ERROR or appropriate error code Input hDriver CAA.HANDLE handle of CAN interface hMessage CAA.HANDLE handle of message to be written usiPriority USINT priority of message: 0: send immediately; 1-n: priority (1: high, n: low), default is n = 8 xEnableSyncWindow BOOL use SYNC window => not implemented; do not care
_GetBaudrate (FUN) ¶ FUNCTION _GetBaudrate : UINT Unmanaged implementation of GetBaudrate InOut: Scope Name Type Comment Return _GetBaudrate UINT baudrate in kBit/s Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_GetBusAlarm (FUN) ¶ FUNCTION _GetBusAlarm : BOOL Unmanaged implementation of GetBusAlarm InOut: Scope Name Type Comment Return _GetBusAlarm BOOL TRUE if a bus alarm is pending. Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_GetBusState (FUN) ¶ FUNCTION _GetBusState : BUSSTATE Unmanaged implementation of GetBusState InOut: Scope Name Type Comment Return _GetBusState BUSSTATE current bus state Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_GetBusload (FUN) ¶ FUNCTION _GetBusload : USINT Unmanaged implementation of GetBusload InOut: Scope Name Type Comment Return _GetBusload USINT bus load (0..100) in percent Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_GetDiagnosis (FUN) ¶ FUNCTION _GetDiagnosis : ERROR Unmanaged implementation of GetDiagnosis InOut: Scope Name Type Comment Return _GetDiagnosis ERROR ERROR.NO_ERROR or appropriate error code Input hDriver CAA.HANDLE handle of CAN interface pDiagnosisInfo POINTER TO DIAGNOSIS_INFO Pointer to diagnostic information
_GetLostCounter (FUN) ¶ FUNCTION _GetLostCounter : CAA.COUNT Unmanaged implementation of GetLostCounter InOut: Scope Name Type Comment Return _GetLostCounter CAA.COUNT number of lost messages Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_GetReceiveCounter (FUN) ¶ FUNCTION _GetReceiveCounter : CAA.COUNT Unmanaged implementation of GetReceiveCounter InOut: Scope Name Type Comment Return _GetReceiveCounter CAA.COUNT number of received messages Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_GetReceiveErrorCounter (FUN) ¶ FUNCTION _GetReceiveErrorCounter : CAA.COUNT Unmanaged implementation of GetReceiveErrorCounter InOut: Scope Name Type Comment Return _GetReceiveErrorCounter CAA.COUNT number of receive errors Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_GetReceivePoolSize (FUN) ¶ FUNCTION _GetReceivePoolSize : CAA.COUNT Unmanaged implementation of GetReceivePoolSize InOut: Scope Name Type Comment Return _GetReceivePoolSize CAA.COUNT number of free receive messages in global receive pool Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum