I noticed that on the TS7260 the first 3 ADC are used by the system to
monitor the votages. i am powering the TS7260 a lipo battery so i
need to monitor the input voltage.
Can user code still read these ADC?
if so.....
I would assume we would not have to init them since the system should
have already done that. Is that correct?
if that is so than is just a (from the demo code)
int devmem=(open("/dev/mem", O_RDWR|O_SYNC);
adc_page=(unsigned long)mmap(0, getpagesize(), PROT_READ, MAP_SHARED,
devmem, ADC_PAGE);
read_channel(adc_page, ACD_CH?)
is all that is needed?
also i did not find in the docs which voltage channel 0 monitors?
channel 1? channel2?
David
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|