This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Interrupt Handler Routine
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Lin Ming <minglin at atmel dot com>
- Cc: eCos Disuss <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 19 Dec 2002 11:28:16 +0100
- Subject: Re: [ECOS] Interrupt Handler Routine
- References: <200212191016.CAA08166@hermes.atmel.com>
On Thu, Dec 19, 2002 at 06:20:50PM +0800, Lin Ming wrote:
> Hi, All,
>
> Anybody can provide some code examples to show me how to write interrupt
> handler routines in ecos using cyg_interrupt_xxx() funtions? That's would
> be greatly helpful!
>
> Thanks a lot!!
Have a look at the serial drivers and the Ethernet drives. Most of
them use interrupts.
What sort of device are you trying to interact with? Knowing that we
may be able to point you towards a better example.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss