MCURTC:GetRTC

Revision as of 08:07, 9 October 2017 by MarcusD (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00020000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Request

Index Word Description
0 Header code [0x00020000]

Response

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

Description

This gets the RTC time from the MCU device.