rockbox/firmware/target/hosted/ypr0
Thomas Martitz 05f12e0877 ypr0: Enable battery voltage read-out, charging monitoring and charger detection.
Voltage can be read using as3543 adc (i.e. ascodec api, on this target implemented
via ioctl()). TODO: Look into possibly controlling charging more by re-using
powermgmt-ascodec.c. However, charging seems to be controlled by the kernel,
so may not be needed.

Charger state can be read using /dev/minivet. It allows to differentiate between
wall charger and usb charging, but that's not implemented (is it even worthwhile?)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31470 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 13:34:56 +00:00
..
adc-target.h
ascodec-target.h
ascodec-ypr0.c ypr0: Fix ascodec_readbytes(). 2011-12-25 18:23:17 +00:00
backlight-target.h
backlight-ypr0.c
button-target.h
button-ypr0.c
dir-target.h
fs-ypr0.c
i2c-target.h
kernel-ypr0.c
lc-ypr0.c
lcd-ypr0.c
powermgmt-ypr0.c ypr0: Enable battery voltage read-out, charging monitoring and charger detection. 2011-12-31 13:34:56 +00:00
sc900776.h ypr0: Enable battery voltage read-out, charging monitoring and charger detection. 2011-12-31 13:34:56 +00:00
system-target.h
system-ypr0.c ypr0: Enable battery voltage read-out, charging monitoring and charger detection. 2011-12-31 13:34:56 +00:00
usb-target.h
ypr0.make