OSMillisecondsToTicks

Syntax

#include <revolution/os.h>

#define OSMillisecondsToTicks(msec)     \
        ((msec) * (OS_TIMER_CLOCK / 1000))

Arguments

msec Time in milliseconds.

Return Values

Time in ticks.

Description

Converts time representation from milliseconds to ticks (in OS_TIMER_CLOCK Hz).

See Also

Time Functions, OSTicksToCycles, OSTicksToSeconds, OSTicksToMilliseconds, OSTicksToMicroseconds, OSSecondsToTicks, OSMicrosecondsToTicks

Revision History

2006/03/01 Initial version.


CONFIDENTIAL