Linus Nielsen Feltzing
e29e91e025
We must sleep 2 ticks to be really sure that all A/D channels have been 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-10-01 06:05:22 +00:00
Jens Arnold
af33f259a2
Ensure vaild readings when adc_init() returns
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5117 a1c6a512-1295-4272-9138-f99709370657
2004-09-24 22:26:16 +00:00
Linus Nielsen Feltzing
5dfc1d0649
Removed the obsolete adcreg[] table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5100 a1c6a512-1295-4272-9138-f99709370657
2004-09-21 10:47:44 +00:00
Linus Nielsen Feltzing
ddb6333797
New A/D conversion strategy, now updates all channels every tick
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5099 a1c6a512-1295-4272-9138-f99709370657
2004-09-21 08:59:36 +00:00
Jens Arnold
2b0694c694
More const policeing step 3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 05:58:46 +00:00
Linus Nielsen Feltzing
26f42605c2
Reverted to the old ADC driver, since it appeared to cause fake OFF 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-20 11:57:50 +00:00
Linus Nielsen Feltzing
5bd3297fd4
Faster, simplified A/D driver. The previous batch convert in init_adc() 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
2004-01-13 11:36:23 +00:00
Jörg Hohensohn
bfaf757db7
Magnus Holmgren: Just realized one thing: doing AN0-3 last is slightly 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-17 20:40:16 +00:00
Linus Nielsen Feltzing
a2134422d4
Removed a compiler warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3837 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 22:39:15 +00:00
Jörg Hohensohn
d8a4bf3ec6
Patch 772577 by Magnus Holmgren: measure all ADC channels within adc_init(), so afterwards adc_read() can be used right away.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3834 a1c6a512-1295-4272-9138-f99709370657
2003-07-16 21:07:53 +00:00
Linus Nielsen Feltzing
a550b07886
Removed TAB chars
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1280 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 10:55:47 +00:00
Linus Nielsen Feltzing
f725641ff9
First version
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1273 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:22:25 +00:00