I2C Registers: Difference between revisions

MarcusD (talk | contribs)
MarcusD (talk | contribs)
Line 253: Line 253:
| 0x02
| 0x02
| d
| d
| wo
| rw
| 2bit value, writing will mask away/"acknowledge" the event, set to 3 by mcuMainLoop on reset if reset source is Watchdog
| 2bit value, writing will mask away/"acknowledge" the event, set to 3 by mcuMainLoop on reset if reset source is Watchdog
   bit0: RTC clock value got reset to defaults
   bit0: RTC clock value got reset to defaults
Line 528: Line 528:
| 0x3D
| 0x3D
0x3E
0x3E
| s (2)
| s
| ro
| ro
| RTC tick counter (resets to 0 when the seconds increase)
| RTC tick counter / "ITMC" (when resets to 0 the seconds increase)
Only reading 0x3D will update the in-RAM value
|-
|-
| 0x3F
| 0x3F
Line 597: Line 598:
|-
|-
| 0x4C
| 0x4C
0x4E
0x4D
| s
| ??
| ??
| ??
|-
| 0x4E
| d
| rw
| rw
| ?
| ??? this = (0xFFE9E & 1) ? 0x10 : 0
|-
|-
| 0x4F
| 0x4F
| 0x156
| d(6)
| ro
| ro
| ???
|  
|-
|-
| 0x50
| 0x50
Line 666: Line 672:
|-
|-
| 0x7F
| 0x7F
| 19(?)
| d(0x13)
| ro
| ro
| Various system state information.
| Various system state information.
   byte 06: battery related? (seems to decrease while charging and increase while discharging)
   byte 0x06: battery related? (seems to decrease while charging and increase while discharging)
   byte 09: system model (see [[Cfg:GetSystemModel#System_Model_Values|Cfg:GetSystemModel]] for values)
   byte 0x09: system model (see [[Cfg:GetSystemModel#System_Model_Values|Cfg:GetSystemModel]] for values)
   byte 10: power LED related? 0 is off, 1 is red
   byte 0x0A: power LED related? 0 is off, 1 is red
   byte 13: RGB LED red intensity
   byte 0x0D: RGB LED red intensity
   byte 14: RGB LED green intensity
   byte 0x0E: RGB LED green intensity
   byte 15: RGB LED blue intensity
   byte 0x0F: RGB LED blue intensity
   byte 17: WiFi LED brightness
   byte 0x11: WiFi LED brightness
   byte 18: raw button states?
   byte 0x12: raw button states?
     bit0: unset while power button is held
     bit0: unset while power button is held
     bit1: unset while home button is held
     bit1: unset while home button is held