MCURTC:GetBatteryLevel

From 3dbrew
Revision as of 16:09, 24 March 2017 by Wwylele (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x002D0000]

Response[edit]

Index Word Description
0 Header code
1 Result code
2 u8 output battery level

Description[edit]

This reads the battery level from I2C MCU register 0xB, via I2CMCU service command 0x000D00C0.