Changes

52 bytes added ,  08:31, 21 September 2017
Line 364: Line 364:  
| s
 
| s
 
| rw
 
| rw
| ?
+
| RTC interrupt mask
 
|-
 
|-
 
| 0x1A
 
| 0x1A
Line 477: Line 477:  
|-
 
|-
 
| 0x30
 
| 0x30
- 0x37
+
- 0x36
 
| s
 
| s
 
| rw
 
| rw
| RTC time (system clock). 7 bytes are read from this. The upper nibble of each byte encodes 10s (BCD), so each byte is post-processed with (byte & 0xF) + (10 * (byte >> 4)). Byte 0 encodes seconds, byte 1 minutes, byte 2 hours, byte *4* days, byte 5 months and byte 6 years (byte 3 is unused?)
+
| RTC time (system clock). 7 bytes are read from this. The upper nibble of each byte encodes 10s (BCD), so each byte is post-processed with (byte & 0xF) + (10 * (byte >> 4)). Byte 0 encodes seconds, byte 1 minutes, byte 2 hours, byte 3 is either the current day of the week or current week of month (not used by anything though), byte 4 days, byte 5 months and byte 6 years
 
|-
 
|-
| 0x38
+
| 0x37
 
| s
 
| s
 
| rw
 
| rw
 
| ?
 
| ?
 
|-
 
|-
| 0x39
+
| 0x38
| s
+
- 0x3C
| rw
  −
| ?
  −
|-
  −
| 0x3A
  −
| s
  −
| rw
  −
| ?
  −
|-
  −
| 0x3B
  −
| s
  −
| rw
  −
| ?
  −
|-
  −
| 0x3C
   
| s
 
| s
 
| rw
 
| rw
| ?
+
| RTC alarm registers
 
|-
 
|-
 
| 0x3D
 
| 0x3D
215

edits