Maybe you can also look at code in
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/samples/getbugin.c
since you may be using the same arm chip.
Also read the manual to find the DO register map.
http://www.embeddedarm.com/about/resource.php?item=409#section5.1
For Latched Outputs
Pins OUT_0 through OUT_5 are digital output lines. The 32 bit register at
address
0x600f_f084 provides access to digital outputs through bits 0 through 5. These
pins are
rated at 0v-3.3v and can safely source or sink 50mA
If you don't find the info on there
look there
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/manuals/ts-7200-manual-rev2.4.pdf
and there
http://www.cirrus.com/en/products/ep9301.html (resource tab)
http://www.cirrus.com/en/products/ep9302.html
Good luck,
--
E
On 00:13 Mon 15 Nov , Alba wrote:
> Hi,
> still alba here!
> I had to write it in c code for my final project (togheter with other stuff
> in c).
> I took the code in the DIO function from this link:
> http://bioacoustics.cse.unsw.edu.au/archives/html/ts-7000/2007-01/msg00169.html
>
> and seeing it my supervisor said it is ok, but when I used it in my module
> it didn't worked.
>
> --
> Alba
--
Emmanuel
------------------------------------
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/
|