Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

battery.h File Reference

Internal Interface: battery handling. More...

Go to the source code of this file.

Defines

#define BATTERY_NORMAL_THRESHOLD_MV   6700
#define BATTERY_LOW_THRESHOLD_MV   6300

Functions

int get_battery_mv ()
void battery_refresh (void)


Detailed Description

Internal Interface: battery handling.

Author:
Paolo Masetti <paolo.masetti@itlug.org>

Definition in file battery.h.


Define Documentation

#define BATTERY_LOW_THRESHOLD_MV   6300
 

Definition at line 42 of file battery.h.

#define BATTERY_NORMAL_THRESHOLD_MV   6700
 

Definition at line 41 of file battery.h.


Function Documentation

void battery_refresh void   ) 
 

cause the battery voltage sensor value to be refreshed

int get_battery_mv  ) 
 

get current battery voltage

Returns:
int voltage in millivolts


Generated on Fri Feb 25 08:02:43 2005 for brickos by  doxygen 1.3.9.1