µCμC/CAN assumes the presence of an RTOS but, the RTOS layer allows µCμC/CAN to be independent of any specific RTOS.
As a minimum, the RTOS you use needs to provide the following services:-
- Semaphore
...
- Timer Services (to get time)
µCμC/CAN is provided with a µCμC/OS-II and µCμC/OS-III interface. If you use a different RTOS, you can use the can_os.*
for µCμC/OS-II or µCμC/OS-III as a template to interface to the RTOS of your choice.
It’s Its also possible to use µCμC/CAN without an RTOS. In this case the function to get time information needs to be supplied. Note that the supplied file can
_no_os.*
files for NO OS ('NONE') is replacing the OS semaphore and is polling on the flags instead. This might result in a decrease of overall system performance.
3 API Description
This chapter explains all functions of µC/CAN in detail.