Atmel provide drivers for the ADC. See the file lib_AT91SAM7S64.h.
Regards,
Richard.
http://www.FreeRTOS.org
*Now for ARM Cortex-M3!*
> Atmel provide drivers for the ADC. See the file lib_AT91SAM7S64.h.
thanq richard for ur suggestion.
can u provide me a sample code so tat i can make my task easy?
can u tell me the whole procedure explaining ADC with the sample code?
TIA
ps:i m desperate to know it.
Sure, where shall I send my quote for doing your work?
regards,
naresh.
This is C, and has nothing to do with the AT91SAM7S64. You really
should learn that language before trying any further steps with a uC.
<< is the left-shift operator, shifting the left-hand argument to the
left by an amount specified with the right-hand argument.
Regards,
Dominic
--
<nares...@gmail.com> wrote in message
news:1152084181.9...@a14g2000cwb.googlegroups.com...
You have to invest time in learning, which means reading and helping
yourself, then, when you are stuck, asking questions. Not the other way
around.
It seems everything you need to know is here:
http://www.amazon.com/gp/product/0131103628/sr=8-1/qid=1152109971/ref=pd_bbs_1/102-4387267-2664962?ie=UTF8
http://www.google.co.uk/search?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2006-08,GGLG:en&q=C+operator+reference
http://www.atmel.com/dyn/resources/prod_documents/doc6175.pdf
You can use Google, right?
shift move << 19 bit.
that's all.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
^
1 << 19
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
^