MCU Services: Difference between revisions
| Line 503: | Line 503: | ||
=MCU service "mcu::PLS"= | =MCU service "mcu::PLS"= | ||
<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 | ||
|- | |- | ||
| | | 0x00010000 | ||
| | | GetDatetime (returns registers 0x30-0x36 in IPC+8) | ||
|- | |- | ||
| | | 0x00020000 | ||
| | | u8 GetSeconds | ||
|- | |- | ||
| | | 0x00030000 | ||
| | | u8 GetMinutes | ||
|- | |- | ||
| | | 0x00040000 | ||
| | | u8 GetHour | ||
|- | |- | ||
| | | 0x00050000 | ||
| | | u8 GetRegister33h | ||
|- | |- | ||
| | | 0x00060000 | ||
| | | u8 GetDay | ||
|- | |- | ||
| | | 0x00070000 | ||
| | | u8 GetMonth | ||
|- | |- | ||
| | | 0x00080000 | ||
| | | u8 GetYear | ||
|- | |- | ||
| | | 0x00090000 | ||
| | | u16 GetTickCounter | ||
|} | |} | ||