void OSTimeSet (OS_TICK ticks,
OS_ERR *p_err)
File | Called from | Code enabled by |
---|---|---|
| Task or ISR | N/A |
OSTimeSet()
sets the system clock. The system clock (OSTickCtr
) is a counter, which has a data type of OS_TICK
, and it counts the number of clock ticks since power was applied, or since the system clock was last set.
...