This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Question about cyg_interrupt_configure() function
- To: HuangQiang <jameshq at liverpool dot ac dot uk>
- Subject: Re: [ECOS] Question about cyg_interrupt_configure() function
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 05 Oct 2001 16:19:57 +0100
- Cc: eCos <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <KIEBICHBADHFCLGCKOPDKEAFCIAA.jameshq@liv.ac.uk>
HuangQiang wrote:
>
> Hi all:
> I have tried to use the
> cyg_interrupt_configure(CYGNUM_HAL_INTERRUPT_EXT0,1,0) in my program to
> config the interrupt as low level and level trigered. but after calling of
> this function I check for the interrupt control register no change has been
> made. ( I have turned off the cache already, so no cache will happen). So I
> have to set the interrupt control register directly other than calling the
> cyg_interrupt_configure() function. Could anyone give me some suggestion on
> it? I am working on ARM E7T board. Thank you very much!
Looking at the definition of hal_interrupt_configure in e7t_misc.c I think
I know why nothing happens....
Care to submit a patch?
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