libkipr
1.0.0
battery.hpp
Go to the documentation of this file.
1
#ifndef _KIPR_BATTERY_BATTERY_HPP_
2
#define _KIPR_BATTERY_BATTERY_HPP_
3
4
namespace
kipr
5
{
6
namespace
battery
7
{
8
class
Battery
9
{
10
public
:
11
static
bool
isCharging
();
12
static
float
powerLevel
(
unsigned
int
battery_type = 0);
13
static
unsigned
short
rawPowerADC
();
14
};
15
}
16
}
17
18
#endif
kipr::battery::Battery
Definition:
battery.hpp:9
kipr::battery::Battery::isCharging
static bool isCharging()
kipr::battery::Battery::powerLevel
static float powerLevel(unsigned int battery_type=0)
kipr::battery::Battery::rawPowerADC
static unsigned short rawPowerADC()
kipr
Definition:
accel.hpp:7
module
battery
public
kipr
battery
battery.hpp
Generated by
1.9.1