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!