Functions
This folder contains managed and unmanaged CL2 functions.
Managed (functions without prefix “_”) means that resources are managed by a resource manager and resources are automatically released on reset application (e.g. driver and receivers are automatically closed).
Unmanaged means that resources should be released by application. Unmanaged functions (functions with prefix “_”) offer better performance because there is no resource manager overhead and message handles can be casted directly to POINTER TO CL2I.MESSAGE
(see CAN Low Level Imp Extern library for more details).
Note
Do not mix up managed and unmanaged functions. Handles from unmanaged functions should not be passed to managed functions and vice versa.
Note
With SIL2 runtime all functions are unmanaged!
Basic Functions
Diagnostic Information
GetBaudrate
(FUN)GetBusAlarm
(FUN)GetBusState
(FUN)GetBusload
(FUN)GetDiagnosis
(FUN)GetLostCounter
(FUN)GetReceiveCounter
(FUN)GetReceiveErrorCounter
(FUN)GetReceivePoolSize
(FUN)GetReceiveQueueLength
(FUN)GetTransmitCounter
(FUN)GetTransmitErrorCounter
(FUN)GetTransmitPoolSize
(FUN)GetTransmitQueueLength
(FUN)IsSendingActive
(FUN)ResetBusAlarm
(FUN)
Extended Functionality
Indicator Services
Internal
Basic Functions
_CloneMessage
(FUN)_CreateArrayReceiver
(FUN)_CreateIdAreaReceiver
(FUN)_CreateMaskReceiver
(FUN)_CreateMessage
(FUN)_CreateSingleIdReceiver
(FUN)_DeleteReceiver
(FUN)_DriverClose
(FUN)_DriverGetSize
(FUN)_DriverOpenH
(FUN)_DriverOpenP
(FUN)_FreeMessage
(FUN)_Read
(FUN)_ReadArrayReceiver
(FUN)_RegisterIdArea
(FUN)_UnregisterIdArea
(FUN)_Write
(FUN)
Diagnostic Information
_GetBaudrate
(FUN)_GetBusAlarm
(FUN)_GetBusState
(FUN)_GetBusload
(FUN)_GetDiagnosis
(FUN)_GetLostCounter
(FUN)_GetReceiveCounter
(FUN)_GetReceiveErrorCounter
(FUN)_GetReceivePoolSize
(FUN)_GetReceiveQueueLength
(FUN)_GetTransmitCounter
(FUN)_GetTransmitErrorCounter
(FUN)_GetTransmitPoolSize
(FUN)_GetTransmitQueueLength
(FUN)_IsSendingActive
(FUN)_ResetBusAlarm
(FUN)
Extended Functionality
Indicator Services
Message Information
Message Information