When registers 0x70 and 0x11 are set to 1 in that order, a power cycle is done.
When registers 0x70 and 0x11 are set to 1 in that order, a power cycle is done.
−
−
When battery is nearly empty on boot, Arm7 reads I2C power management registers 0x0, 0x10, and 0x20. After poking other registers, it reads 0x20 again. After that it does shutdown, clears gfx and NDMA. Then it reads register 0x20 again. Last it writes value 2 to register 0x11, then SPI shutdown.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 133:
Line 131:
| 0x11
| 0x11
| 1
| 1
−
| System reset register 2. Writing value 2 here might power off all twl hw?
+
| System reset register 2. Writing value 2 here might power off all DSi-only hw?
|-
|-
| 0x12
| 0x12
Line 141:
Line 139:
| 0x20
| 0x20
| 1
| 1
−
| Shutdown related?
+
| Battery critical flag, arm7 shuts down the system when this is zero.