summaryrefslogtreecommitdiff
path: root/firmware/drivers/adc.c
AgeCommit message (Collapse)Author
2005-04-06First lame attempt to show correct battery level on the iRiverLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6258 a1c6a512-1295-4272-9138-f99709370657
2005-02-11iRiver: Support for remote control buttonsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5909 a1c6a512-1295-4272-9138-f99709370657
2005-01-10Jean-Philippe Bernardy: removed bad emu_debugf() callDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5552 a1c6a512-1295-4272-9138-f99709370657
2005-01-09Jean-Philippe Bernardy: ADC support for TCC730Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5547 a1c6a512-1295-4272-9138-f99709370657
2004-11-18Added iRiver ADC tick taskLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5431 a1c6a512-1295-4272-9138-f99709370657
2004-11-03Ported to iRiver (unfinished)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5378 a1c6a512-1295-4272-9138-f99709370657
2004-10-01We must sleep 2 ticks to be really sure that all A/D channels have been ↵Linus Nielsen Feltzing
converted at least once before returning from adc_init() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5136 a1c6a512-1295-4272-9138-f99709370657
2004-09-24Ensure vaild readings when adc_init() returnsJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5117 a1c6a512-1295-4272-9138-f99709370657
2004-09-21Removed the obsolete adcreg[] tableLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5100 a1c6a512-1295-4272-9138-f99709370657
2004-09-21New A/D conversion strategy, now updates all channels every tickLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5099 a1c6a512-1295-4272-9138-f99709370657
2004-08-03More const policeing step 3Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
2004-01-20Reverted to the old ADC driver, since it appeared to cause fake OFF ↵Linus Nielsen Feltzing
keypresses (weird indeed, since the OFF key doesn't use the ADC on the plain Recorder). However, I did fix the batch convert, since it caused fake keypresses at boot time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4260 a1c6a512-1295-4272-9138-f99709370657
2004-01-13Faster, simplified A/D driver. The previous batch convert in init_adc() ↵Linus Nielsen Feltzing
produced garbage because of the fast conversion time, causing fake keypresses that made ask_resume() return prematurely. This should fix the intermittent resume problem reported by many users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4222 a1c6a512-1295-4272-9138-f99709370657
2003-07-17Magnus Holmgren: Just realized one thing: doing AN0-3 last is slightly ↵Jörg Hohensohn
better, as AN0 will then remain valid for the first execution of the tick task function. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3842 a1c6a512-1295-4272-9138-f99709370657
2003-07-16Removed a compiler warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3837 a1c6a512-1295-4272-9138-f99709370657
2003-07-16Patch 772577 by Magnus Holmgren: measure all ADC channels within adc_init(), ↵Jörg Hohensohn
so afterwards adc_read() can be used right away. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3834 a1c6a512-1295-4272-9138-f99709370657
2002-07-01Removed TAB charsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1280 a1c6a512-1295-4272-9138-f99709370657
2002-06-30First versionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1273 a1c6a512-1295-4272-9138-f99709370657