Showing changes from revision #4 to #5:
Added | Removed | Changed
Entry | |
---|---|
R0 | Bits 0-23: BMU variable number |
Bits 24-31: BMU number |
Exit | |
---|---|
R0 | Preserved |
R1 | Value |
The purpose of this call is to read the Battery Management Unit (BMU) variables.
If your code wants to read multiple variables, Portable_ReadBMUVariables is recommended.
The BMU settings can be set by using Portable_WriteBMUVariable.
On the A4 and Stork versions of the Portable module, the variable with was 8 bits. The charge estimate (variable 6) would be returned as 255 if its value is unknown.
On the HAL version of the Portable module, the variable width has been increased to 32 bits, and -1 is returned for any unknown values. The measurement units used by some variables has also been changed.