ts-7000
[Top] [All Lists]

Re: [ts-7000] example C programs for newbie

To:
Subject: Re: [ts-7000] example C programs for newbie
From: "Mark Carlson" <>
Date: Mon, 17 Apr 2006 09:42:43 -0600
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/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU