This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Configuring interrupt on At91 EB40 board
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: "ok at penell dot com" <ok at penell dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 29 Nov 2001 06:18:11 +0000
- Subject: Re: [ECOS] Configuring interrupt on At91 EB40 board
- References: <01C170D6.9CFE2C60.ok@penell.com>
"Penell A/S, Ole Krarup" wrote:
> cyg_interrupt_create(FIQ, prioritet, (cyg_addrword_t) 0, isr0, dsr0,
> &intr0, &inttest);
> cyg_interrupt_attach(intr0);
> cyg_interrupt_enable();
> Now I would like a press on the interrupt bottom to send me to isr0() and
> then to dsr0() but nothings happening. What am I missing ?
Perhaps cyg_interrupt_unmask(FIQ) ? Also, try with the default
configuration before playingi with options like nested or chained
interrupts, or included stubs.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine