I2C Registers: Difference between revisions
Line 253: | Line 253: | ||
| 0x02 | | 0x02 | ||
| d | | d | ||
| | | 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 | | s | ||
| ro | | ro | ||
| RTC tick counter (resets to 0 | | 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 | ||
| | | ?? | ||
| ?? | |||
| ?? | |||
|- | |||
| 0x4E | |||
| d | |||
| rw | | rw | ||
| ? | | ??? this = (0xFFE9E & 1) ? 0x10 : 0 | ||
|- | |- | ||
| 0x4F | | 0x4F | ||
| | | d(6) | ||
| ro | | ro | ||
| | | | ||
|- | |- | ||
| 0x50 | | 0x50 | ||
Line 666: | Line 672: | ||
|- | |- | ||
| 0x7F | | 0x7F | ||
| | | d(0x13) | ||
| ro | | ro | ||
| Various system state information. | | Various system state information. | ||
byte | byte 0x06: battery related? (seems to decrease while charging and increase while discharging) | ||
byte | byte 0x09: system model (see [[Cfg:GetSystemModel#System_Model_Values|Cfg:GetSystemModel]] for values) | ||
byte | byte 0x0A: power LED related? 0 is off, 1 is red | ||
byte | byte 0x0D: RGB LED red intensity | ||
byte | byte 0x0E: RGB LED green intensity | ||
byte | byte 0x0F: RGB LED blue intensity | ||
byte | byte 0x11: WiFi LED brightness | ||
byte | 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 |