OSSecondsToTicks

Syntax

#include <cafe/os.h>

#define OSSecondsToTicks(sec) ((sec)  * OS_TIMER_CLOCK)

Parameters

sec Time in seconds.

Return Values

Time in ticks.

Description

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

Do Not Call From

None.

See Also

OSTicksToCycles
OSTicksToSeconds
OSTicksToMilliseconds
OSTicksToMicroseconds
OSMillisecondsToTicks
OSMicrosecondsToTicks

Revision History

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


CONFIDENTIAL