Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R0 | Pointer to rtctime structure |
Exit | |
---|---|
R0 | Error pointer (on failure), preserved (on success) |
- | All other registers preserved |
The purpose of this call is to write a time value to the hardware RTC
By initialising certain members of the rtctime struct to 255, it is possible to do a partial update of the date/time. The supported combinations are:
Other combinations are invalid and should not be used.
The year bytes held in CMOS may be updated by this operation.
If the RTC was previously stopped, this call will start it running.
Rather than writing time to the RTC directly, most software should use a SWI such as Territory_SetTime to update both the RTC and the soft copy.