This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question about cyg_interrupt_configure() function


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]