Description
Notifies the kernel that a tick has just occurred, and that time delays and timeouts need to be updated. This function must be called from the tick ISR.
Files
os.h/os_time.c
Prototype
Code Block |
---|
void OSTimeTick (void) |
Arguments
None
Returned Value
None
Required Configuration
None
Callers
Tick ISR.
Notes/Warnings
None
Example Usage
Code Block | ||
---|---|---|
| ||
void MyTickISR (void)
{
/* Clear interrupt source */
OSTimeTick();
:
:
} |