Difference between revisions of "MCUHWC:GetBatteryVoltage"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00040000]}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}}...")
 
Line 12: Line 12:
 
{{IPC/RequestEntry|u8 battery_voltage}}
 
{{IPC/RequestEntry|u8 battery_voltage}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
 +
 +
=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

Revision as of 19:05, 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