#include <revolution/os.h>
#define OSTicksToMicroseconds(ticks) \ ((ticks) / (OS_TIMER_CLOCK / 1000000))
|
OSTime (64 bit) or OSTick (32 bit) type integer value. |
Time in microseconds.
Converts time from units of ticks (at OS_TIMER_CLOCK Hz) to microseconds.
Time Functions, OSTicksToCycles, OSTicksToSeconds, OSTicksToMilliseconds, OSSecondsToTicks, OSMillisecondsToTicks, OSMicrosecondsToTicks
03/01/2006 Initial version.