Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

RTOS Layer

µC/CAN assumes the presence of an RTOS but, the RTOS layer allows µ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/CAN is provided with a µC/OS-II and µC/OS-III interface. If you use a different RTOS, you can use the can_os.* for µC/OS-II or µC/OS-III as a template to interface to the RTOS of your choice.

It’s also possible to use µ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.* is replacing the OS semaphore and is polling on the flags instead. This might result in a decrease of overall system performance.

End

  • No labels