...
Files
os.h/bsp_os.c
Prototype
Code Block |
---|
OS_TICK OS_DynTickGet (void) |
Arguments
None.
Returned Value
...
OS_CFG_TICK_EN
and OS_CFG_DYN_TICK_EN
must be enabled in os_cfg.h
.
Notes/Warnings
- To use the Dynamic Tick feature, the OS Board Support Package (BSP) should implement the Dynamic Tick API defined in Dynamic Tick BSP.
- Do not call
OS_DynTickGet
() from your application. OS_DynTickGet
() is always called within a critical section.- If your port supports Non-Kernel Aware interrupts, make sure that the dynamic tick interrupt is assigned a kernel-aware priority.