RTC GetTicks

From WikiPrizm
Revision as of 15:05, 31 July 2014 by Gbl08ma (talk | contribs)
Jump to navigationJump to search


Synopsis

Header: fxcg/rtc.h
Syscall index: 0x2C1
Function signature: int RTC_GetTicks(void)

Gets the number of ticks elapsed since midnight. The RTC ticks at 128 Hz.

Returns

The number of ticks since midnight, resetting every day. A tick occurs every 1/128, approximately 0.00781, second.