Difference between revisions of "MCURTC:GetRTC"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00020000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !...")
 
 
Line 31: Line 31:
 
   u8 year,
 
   u8 year,
 
   u8 leapcount
 
   u8 leapcount
 +
|-
 +
| 3-4
 +
| svcGetSystemTick value corresponding to when the RTC read was done
 +
|-
 +
| 5-9
 +
| Uninitialized data
 +
|-
 
|}
 
|}
  
 
=Description=
 
=Description=
 
This gets the RTC time from the MCU device.
 
This gets the RTC time from the MCU device.

Latest revision as of 03:25, 12 May 2020

Request[edit]

Index Word Description
0 Header code [0x00020000]

Response[edit]

Index Word Description
0 Header code
1 Result code
2-3
 u8 seconds,
 u8 minutes,
 u8 hours,
 u8 dayofweek,
 u8 dayofmonth,
 u8 month,
 u8 year,
 u8 leapcount
3-4 svcGetSystemTick value corresponding to when the RTC read was done
5-9 Uninitialized data

Description[edit]

This gets the RTC time from the MCU device.