It is currently Sat Nov 18, 2017 5:11 pm




Post new topic Reply to topic  [ 1 post ] 
 Select Channel for /dev/adc 
Author Message

Joined: Fri Nov 05, 2010 3:36 pm
Posts: 2
Post Select Channel for /dev/adc
Hello, is it possible to select the desired analog input? /dev/adc simply returns the value of AINT0, but I also want to access AINT1, AINT2, ...

I know it is possible to perform this by writing to rADCCON:
2440addr.h:
#define rADCCON (*(volatile unsigned *)0x58000000) //ADC control

but I want to select the input within Linux.

Thanks in advance.


Mon Jan 16, 2012 8:34 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.