Internal Interface: battery handling. More...
Go to the source code of this file.
Macros | |
#define | BATTERY_NORMAL_THRESHOLD_MV 6700 |
#define | BATTERY_LOW_THRESHOLD_MV 6300 |
Functions | |
int | get_battery_mv () |
get current battery voltage More... | |
void | battery_refresh (void) |
cause the battery voltage sensor value to be refreshed More... | |
Internal Interface: battery handling.
Definition in file battery.h.
void battery_refresh | ( | void | ) |
cause the battery voltage sensor value to be refreshed
int get_battery_mv | ( | ) |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |