This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
using SPI-support of eCOS for the AT91SAM7X
- From: Robert Brusa <bob dot brusa at gmail dot com>
- To: MailingList:ecos-discuss <ecos-discuss at ecos dot sourceware dot org>;
- Date: Fri, 05 Sep 2008 11:35:00 +0200
- Subject: [ECOS] using SPI-support of eCOS for the AT91SAM7X
- Reply-to: Bob dot Brusa at gmail dot com
Hi
My board has a DS3234 serial Real Time Clock connected to its sip0-bus.
From the documentation (ecos-ref-a4.pdf) I concluded that using
cyg_spi_transer would cover all my requirements. But there is a problem:
The first argument of this function is a pointer to a type cyg_spi_device.
I could find nowhere an explanation on how to set up (or get acces to)
such a structure. Who could provide a few lines of code to show how it is
done? Thanks
Robert
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss