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 4 Next »

Dynamic Tick API

Because hardware timers are programmed in the BSP, µC/OS-III only provides the function declarations for OS_DynTickGet() and OS_DynTickSet(); the BSP developer is required to implement them correctly to support Dynamic Tick. OSTimeDynTick() is defined by the OS and called from the Tick ISR, similarly to OSTimeTick(). However, unlike OSTimeTick() it passes an argument to the OS: the number of ticks that have elapsed.

Template

bsp_os.c

OS_DynTickGet()

OS_DynTickSet()

Dynamic Tick ISR

  • No labels