...
Anchor |
---|
1047098 | 1047098 | Interface with RTOS Anchor |
---|
1048301 | 1048301 | µC/Clk requires the presence of a Real Time Operating System (RTOS) if an External timestamp is not used.
As mentioned in Chapter 2, An RTOS abstraction layer is also needed allowing µC/Clk is delivered with ports for 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 and µC/OS-III, but it is possible for µC/Clk to be used with another RTOS by providing appropriate implementations of clk_os.* 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.