MCUHWC:GetBatteryVoltage: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
MarcusD (talk | contribs)
Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00040000]}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_offset|0}}..."
 
MarcusD (talk | contribs)
No edit summary
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 20: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