Difference between revisions of "MCURTC:GetBatteryLevel"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x002D0000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des...")
 
Line 26: Line 26:
  
 
=Description=
 
=Description=
This reads the battery level from [[I2C]] MCU register ?, via [[I2C_Services|I2CMCU]] service command ??.
+
This reads the battery level from [[I2C]] MCU register 0xB, via [[I2C_Services|I2CMCU]] service command 0x000D00C0.

Revision as of 16:08, 24 March 2017

Request

Index Word Description
0 Header code [0x002D0000]

Response

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

Description

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