RTC GetTime

From WikiPrizm
Revision as of 15:02, 31 July 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = RTC_GetTime | header = fxcg/rtc.h | index = 0x02C0 | signature = void RTC_GetTime(unsigned int* hour, unsigned int* minute, unsigned int* second, unsigned i...")
(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.