Difference between revisions of "MCUHWC:GetBatteryVoltage"

From 3dbrew
Jump to navigation Jump to search
Line 15: Line 15:
 
=Description=
 
=Description=
 
Returns the battery voltage in an unknown format.
 
Returns the battery voltage in an unknown format.
 +
  
 
When the charger is plugged into a fully charged unit, this value will be maximum 0xD1
 
When the charger is plugged into a fully charged unit, this value will be maximum 0xD1
 +
 
Unplugging the charger will make the value go down to 0xCE
 
Unplugging the charger will make the value go down to 0xCE

Revision as of 19:06, 15 September 2016

Request

Index Word Description
0 Header code [0x00040000]

Response

Index Word Description
0 Header code
1 Result code
2 u8 battery_voltage

Description

Returns the battery voltage in an unknown format.


When the charger is plugged into a fully charged unit, this value will be maximum 0xD1

Unplugging the charger will make the value go down to 0xCE