Line 690: |
Line 690: |
| | d(9-0x13) | | | d(9-0x13) |
| | ro | | | ro |
− | | Various system state information. | + | | Various system state information (debug pointer table) |
| byte 0x06: 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 0x09: 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 0x0A: power LED related? 0 is off, 1 is red | + | byte 0x0A: Red Power LED mode (0 = off, 1 = on) |
| + | byte 0x0B: Blue Power LED intensity (0x00 - 0xFF) |
| byte 0x0D: RGB LED red intensity | | byte 0x0D: RGB LED red intensity |
| byte 0x0E: RGB LED green intensity | | byte 0x0E: RGB LED green intensity |
Line 699: |
Line 700: |
| byte 0x11: WiFi LED brightness | | byte 0x11: WiFi LED brightness |
| byte 0x12: 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 |
− | bit2: unset while Wifi slider is held | + | bit2: unset while WiFi slider is held |
| bit5: unset while the charging LED is active | | bit5: unset while the charging LED is active |
| bit6: unset while charger is plugged in | | bit6: unset while charger is plugged in |
− |
| |
− | this byte is reset to 0 before an svcBreak takes effect
| |
| | | |
| On MCU_FIRM major version 1 the size of this is 9, reading past the 9th byte will yield AA instead of FF. | | On MCU_FIRM major version 1 the size of this is 9, reading past the 9th byte will yield AA instead of FF. |