Difference between revisions of "84PCE:Syscalls:0003B0"

From WikiTI
Jump to: navigation, search
(Created page with "GetBatteryStatus 0003B0 - GetBatteryStatus == Synopsis == '''Hypothesized Official Name:''' GetBatterySt...")
 
(Synopsis)
Line 8: Line 8:
 
Gets the status of the battery voltage. There are five possible values:
 
Gets the status of the battery voltage. There are five possible values:
  
<nowiki>> 75%      ; returns 4  
+
<pre>> 75%      ; returns 4  
 
50%-75%    ; returns 3
 
50%-75%    ; returns 3
 
25%-50%    ; returns 2
 
25%-50%    ; returns 2
 
5%-25%      ; returns 1
 
5%-25%      ; returns 1
< 5%        ; returns 0</nowiki>
+
< 5%        ; returns 0</pre>
  
 
=== Function Prototype ===
 
=== Function Prototype ===

Revision as of 22:17, 7 September 2015

Synopsis

Hypothesized Official Name: GetBatteryStatus

C Function Address: 0003B0h

Gets the status of the battery voltage. There are five possible values:

> 75%       ; returns 4 
50%-75%     ; returns 3
25%-50%     ; returns 2
5%-25%      ; returns 1
< 5%        ; returns 0

Function Prototype

uint8 GetBatteryStatus(void);

Arguments

  • None (void)

Returns

  • The battery voltage status