rockbox/firmware/target/arm/tcc77x/iaudio7
Thomas Martitz c1bd9b0361 Rework powermgmt to enable code re-use on appliation and sims.
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application)
to break powermgmt.c's assumption about the ability to read battery voltage.
There's now additionally percentage (android) and remaining time measure
(maemo). No measure at all also works (sdl app). If voltage can't be measured,
then battery_level() is king and it'll be used for power_history and runtime
estimation.

* Implement target's API in the simulator, i.e. _battery_voltage(), so it
doesn't need to implement it's own powermgmt.c and other stubs. Now
the sim behaves much more like a native target, although it still
changes the simulated battery voltage quickly,

* Other changes include include renaming battery_adc_voltage() to
_battery_voltage(), for consistency with the new target functions and
making some of the apps code aware that voltage and runtime estimation
is not always available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:38 +00:00
..
adc-target.h Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers. 2008-09-06 17:50:59 +00:00
ata2501.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
ata2501.h Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers. 2008-09-06 17:50:59 +00:00
audio-iaudio7.c Get rid of remaining audiohw_enable_output style codec setup and use pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up. 2008-11-26 14:25:45 +00:00
backlight-target.h i7: _backlight_init() turn backlight on, as we can miss panic message 2009-09-18 06:01:56 +00:00
button-iaudio7.c i7: Notify the backlight driver when the HOLD button is toggled, same as D2 2009-09-02 12:03:37 +00:00
button-target.h Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers. 2008-09-06 17:50:59 +00:00
lcd-iaudio7.c Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar). 2009-10-20 21:54:59 +00:00
power-iaudio7.c tcc77x targets: various minor cleanups 2010-08-28 10:17:19 +00:00
powermgmt-iaudio7.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00