Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
void  OSTimeSet (OS_TICK  ticks,
                 OS_ERR  *p_err)

File

Called from

Code enabled by

os_time.c

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.

...