altos: Add battery voltage sampling driver
authorKeith Packard <keithp@keithp.com>
Sun, 23 Oct 2011 21:51:32 +0000 (14:51 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 23 Oct 2011 21:51:32 +0000 (14:51 -0700)
commitf70553106707e3496d07eecb83f0c0a1acad7f77
tree23f9916f733d88cffbc2304ac9a517b1ea012044
parent7e7a10c06a0486e9f869e361e46f2c98db9897b0
altos: Add battery voltage sampling driver

For devices without a full ADC compliment, this just samples the
battery pin and converts to mV.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/cc1111/ao_battery.c [new file with mode: 0644]
src/core/ao.h
src/product/ao_teleterra_0_2.c
src/teleterra-v0.2/Makefile
src/teleterra-v0.2/ao_pins.h