Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | -1, or current territory number |
R1 | 1 (reason code) |
R2 | DST state flags: |
Bit 0: DST on/off flag | |
Bit 1: Automatic DST switching on/off flag | |
Other bits reserved, should be zero |
Exit | |
---|---|
- | All registers preserved |
This SWI can be used to set the current DST status. It is equivalent to the following *Configure commands:
DST flags | Command |
---|---|
00 | *Configure NoDST |
01 | *Configure DST |
1x | *Configure AutoDST (bit 0 is ignored if bit 1 is set) |
Unlike most Territory_DaylightSaving reason codes, this call only supports the current territory. Thus R0 must either be -1 or the number of the current territory.
This SWI was introduced in TerritoryManager 0.47