OSTicksToSeconds

Syntax

#include <cafe/os.h>

#define OSTicksToSeconds(ticks) ((ticks) / OS_TIMER_CLOCK)

Parameters

ticks OSTime (64-bit) or OSTick (32-bit) type integer value.

Return Values

Time in seconds.

Description

Converts time from ticks (at OS_TIMER_CLOCK Hz) to seconds.

Do Not Call From

None.

See Also

OSTicksToCycles
OSTicksToMilliseconds
OSTicksToMicroseconds
OSSecondsToTicks
OSMillisecondsToTicks
OSMicrosecondsToTicks

Revision History

2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass
2010/08/30 Initial version.


CONFIDENTIAL