[ECOS] Question about cyg_interrupt_configure() function
Jonathan Larmour
jlarmour@redhat.com
Fri Oct 5 08:20:00 GMT 2001
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
More information about the Ecos-discuss
mailing list