GetMainBatteryVoltage

From WikiPrizm
Revision as of 12:45, 1 August 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = GetMainBatteryVoltage | header = fxcg/system.h | index = 0x1186 | signature = int GetMainBatteryVoltage(int one) | synopsis = Gets the battery voltage. | pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: fxcg/system.h
Syscall index: 0x1186
Function signature: int GetMainBatteryVoltage(int one)

Gets the battery voltage.

Parameters

  • one - should be set to 1.

Returns

The battery voltage in centivolts: if the battery voltage is, for example, 5.14 V, this syscall will return 514.