Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

legOS/kernel/battery.c File Reference


Functions

int get_battery_mv ()
 HANDLER_WRAPPER ("battery_refresh","battery_refresh_core")
battery indicator handler, called from system timer interrupt.

void battery_refresh_core (void)

Variables

unsigned int battery_refresh_counter
counter for lcd refresh in ms.

unsigned int battery_refresh_period
LCD refresh period in ms.


Function Documentation

int get_battery_mv ()

HANDLER_WRAPPER ("battery_refresh", "battery_refresh_core")

battery indicator handler, called from system timer interrupt.

void battery_refresh_core (void)


Variable Documentation

unsigned int battery_refresh_counter

counter for lcd refresh in ms.

unsigned int battery_refresh_period

LCD refresh period in ms.

legOS-0.2.4 is released under the Mozilla Public License. Original code copyright 1998-1999 by the authors.