[ECOS] cyg_drv_interrupt_create ()

Trenton D. Adams tadams@extremeeng.com
Thu Jun 21 14:44:00 GMT 2001


> -----Original Message-----
> From: jlarmour@cambridge.redhat.com 
> [ mailto:jlarmour@cambridge.redhat.com ] On Behalf Of Jonathan Larmour
> Sent: Wednesday, June 20, 2001 8:21 PM
> To: Trenton D. Adams
> Cc: 'eCos'
> Subject: Re: [ECOS] cyg_drv_interrupt_create ()
> "Trenton D. Adams" wrote:
> > 
> > What exactly is the first parameter to this functions 
> supposed to be? 
> > I'm thinking and interrupt number, but I'm not sure.  Maybe it's a 
> > memory address, or an offset into the interrupt vector table?
> 
> The interrupt number. Most times these map directly to what 
> you would expect. But you can get the definitions by 
> including <cyg/hal/hal_intr.h>. Look at the header (and 
> possibly what it includes) to find the value required. Yes 
> our documentation could be improved :-|.

Does it have to be defined in the <cyg/hal/hal_intr.h> header file to be
a useable interrupt?



More information about the Ecos-discuss mailing list