RTC GetTime

From WikiPrizm
Revision as of 19:00, 10 February 2015 by Gbl08ma (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: fxcg/rtc.h
Syscall index: 0x02C0
Function signature: void RTC_GetTime(unsigned int* hour, unsigned int* minute, unsigned int* second, unsigned int* millisecond)

Gets the Real-Time Clock time.

Parameters

  • hour - pointer to integer that will receive the current hour.
  • minute - pointer to integer that will receive the current minute.
  • second - pointer to integer that will receive the current second.
  • millisecond - pointer to integer that will receive the current millisecond. This is as exact as the 1/128 second base tick allows.