|
Rockbox mail archiveSubject: adc_init (was Re: Rombox: won't charge when batteries are dead)adc_init (was Re: Rombox: won't charge when batteries are dead)
From: Magnus Holmgren <lear_at_algonet.se>
Date: Wed, 16 Jul 2003 22:24:45 +0200 idc-dragon_at_gmx.de wrote: > I think adc_init() should do initial measurements, so after that's been > called you can query the values right away. I'm not concerned about this function > blocking for 8 * ~28 µs, that's still way better that waiting for 8 ticks. > > Just my $0.02 > Jörg Okay, I've added patch 772577 that does this, taking about 100 µs if my interpretation of the hardware manual is right (it waits for the conversion to finish, so it should work even if I'm wrong about the time). :) Seems to work fine on my player... -- Magnus HolmgrenReceived on 2003-07-16 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |