MCURTC:GetRTC

MCURTC:GetRTC

Request #

Index WordDescription
0Header code [0x00020000]

Response #

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

Description #

This gets the RTC time from the MCU device.