This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
vector type passed to cyg_drv_interrupt_create
- From: Leo McManus <leomcmanusir at yahoo dot com>
- To: EcosMailList EcosList <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 2 Apr 2004 10:47:21 +0100 (BST)
- Subject: [ECOS] vector type passed to cyg_drv_interrupt_create
- Reply-to: LeoM at 3rdRootDSP dot Com
Is it only on the ARM Integrator board that you pass the mask for the IRQ = 9
and not the IRQ vector = 6?
cyg_vector_t int1Vector = CYGNUM_HAL_INTERRUPT_EXPINT0; /** = 9 **/
cyg_drv_interrupt_create(int1Vector,
int1Priority,
0,
&interrupt1ISR,
&interrupt1DSR,
&interrupt1Handle,
&interrupt1);
cyg_drv_interrupt_unmask( int1Vector );
Tahnks
Leo
=====
Mobile Belgium: +32 (0)495 89 59 65
Contact in France: +33 (0)476 275661
Registered Linux User Number 205935.
http://counter.li.org.
___________________________________________________________
WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss