pmExternalPower (Function) |
Top Previous Next |
Turns the external power on and off. This makes it possible to run on battery even though external power is provided. If battery backup is not enabled or if BatPowerLevel() is at the lowest level, the external power can not be disabled.
Input: enable: BOOL Enables/disables the external power.
Returns:
Declaration: FUNCTION pmExternalPower : INT;
Example: INCLUDE rtcu.inc |