MCU Services: Difference between revisions

MarcusD (talk | contribs)
MarcusD (talk | contribs)
Line 503: Line 503:
=MCU service "mcu::PLS"=
=MCU service "mcu::PLS"=


RTC-related? Each of these seems to retrieve a second counter from a different RTC register.
<s>Beg the sysmodule to return the datetime registers in decimal form instead of as a Binary Coded Decimal</s>


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 510: Line 510:
!  Description
!  Description
|-
|-
| 0x0001....
| 0x00010000
| ?
| GetDatetime (returns registers 0x30-0x36 in IPC+8)
|-
|-
| 0x0002....
| 0x00020000
| ?
| u8 GetSeconds
|-
|-
| 0x0003....
| 0x00030000
| ?
| u8 GetMinutes
|-
|-
| 0x0004....
| 0x00040000
| ?
| u8 GetHour
|-
|-
| 0x0005....
| 0x00050000
| ?
| u8 GetRegister33h
|-
|-
| 0x0006....
| 0x00060000
| ?
| u8 GetDay
|-
|-
| 0x0007....
| 0x00070000
| ?
| u8 GetMonth
|-
|-
| 0x0008....
| 0x00080000
| ?
| u8 GetYear
|-
|-
| 0x0009....
| 0x00090000
| ?
| u16 GetTickCounter
|}
|}