Showing changes from revision #4 to #5:
Added | Removed | Changed
Entry | |
---|---|
R0 | Previous BMU number |
Or -1 to start enumeration | |
Or 0 to skip the legacy BMU | |
R1 | Flags (Reserved, should be zero) |
Exit | |
---|---|
R0 | This BMU index, or -1 for end |
R1 | BMU device flags (only valid if R0 <> -1) |
R2 | Mask of supported BMU status flags (only valid if R0 <> -1) |
This call allows you to enumerate the available BMUs in the system.
BMU 0 is a legacy BMU provided for compatibility with software designed to work with the A4, Stork and A9 versions of the Portable module.
Since the BMU interface now allows for communication with BMUs which don’t power the main system (e.g. the BMU for an RTC or NVRAM backup battery), the Portable module may elect not to create a legacy BMU if none of the BMUs present in the system are able to report on the power state of the main battery/power supply.
The current legacy BMU implementation returns values in the same units as the other PortableHAL BMUs. However in future this may be changed to return values compatible with the A4 version of the Portable module.