This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Interrupt driven serial communication on AT91SAM9260
- From: Dave Milter <davemilter at gmail dot com>
- To: Gurkan Sokat <gurkansokat at yahoo dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 6 Oct 2009 11:21:02 +0400
- Subject: Re: [ECOS] Interrupt driven serial communication on AT91SAM9260
- References: <907868.75159.qm@web52802.mail.re2.yahoo.com>
On 10/2/09, Gurkan Sokat <gurkansokat@yahoo.com> wrote:
> Hi,
>
> I am new to this and I can not figure out how to set up interrupt driven
> serial communication on AT91SAM9260. I need to use USART3 and all I want is
> to have interrupt when data received.
>
> This is what I have so far. Not sure if any part of it is true or not, but
> here it is. Can anybody help me on this?
>
look at packages/devs/serial/arm/at91/current/src/at91_serial.c at
ecos repository,
it contains complete example how to do that, may be you can just use
it, without working with hardware.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss