void OSTimeTickHook( void );
Description
- This function, as included with Dynamic C, is a stub that does nothing except return. It is called
every clock tick. Code in this function should be kept to a minimum as it will directly affect
interrupt latency. This function must preserve any registers it uses other than the ones that are
preserved at the beginning of the periodic interrupt (
periodic_isr in VDRIVER.LIB),
and therefore should be written in assembly. At the time of this writing, the registers saved by
periodic_isr are: AF,IP,HL,DE and IX.
Library
- UCOS2.LIB
See Also
- OSTimeTick