On 4/17/06, robo_pigeon <> wrote:
> Howdy folks,
>
> I'm the new "dad" of a TS7260 SBC, and I've played around with the
> the OS and even created a "Hello World" binary (using C) that worked
> fine. However, I'm not sure how to access the various registers
> using C. Does anyone have a couple simple examples I could look at?
> For example, I'd like to see a small (and simple) C program to flash
> the status LEDs, and also a sample program to read the input
> voltage via the AD converter.
>
> Any help for this "newbie" would be great!
>
> Mike
There are 3 sample programs on this page:
http://www.embeddedarm.com/linux/ARM.htm
I'm pretty sure they do the digital IO and read from the ADC. The IO
is all straightforward mmap() based. Have fun!
-Mark
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|