Interface with RTOS

µC/Clk requires the presence of a Real Time Operating System (RTOS) if an External timestamp is not used. An RTOS abstraction layer is also needed allowing µC/Clk to be independent of a specific. KAL is a kernel abstraction layer employed by Micrium products to interact with the RTOS used. It can be found in the µC/Common directory. The KAL API is presented in the kal.h file. KAL comes with µC/OS-II and µC/OS-III ports. If a different RTOS is used, a new kal.c file must be develop to match the generic KAL API to the corresponding RTOS functionalities.