Difference between revisions of "RTC GetTime"

From WikiPrizm
Jump to navigationJump to search
(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...")
 
 
Line 10: Line 10:
 
* '''millisecond''' - pointer to integer that will receive the current millisecond. This is as exact as the [[RTC_GetTicks|1/128 second base tick]] allows.
 
* '''millisecond''' - pointer to integer that will receive the current millisecond. This is as exact as the [[RTC_GetTicks|1/128 second base tick]] allows.
 
}}
 
}}
 +
[[Category:Syscalls:RTC]]

Latest revision as of 19:00, 10 February 2015


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.