How to set up an interrupt on Zynq

xuelin.tian at qkmtech.com xuelin.tian at qkmtech.com
Wed Mar 9 02:21:02 UTC 2016







Yes, rtems_interrupt_handler_install() works fine for me. Thanks. And now, I get a little confused with the concept "rtems_options". For example, RTEMS_INTERRUPT_SHARED means that this handler may share a common interrupt vector number with other handler. And then how could I know the exact corresponding relationship between interrupt source and interrupt handler?


Best,TianQ.K.M Technology Co., Ltd.xuelin.tian at qkmtech.com
 From: Sebastian HuberDate: 2016-02-24 04:13To: xuelin tianCC: usersSubject: Re: How to set up an interrupt on ZynqHello,
 
for the interrupt API, see <bsp/irq.h> and <rtems/irq-extension.h>. For examples, search for rtems_interrupt_handler_install() in the drivers.
 
----- Am 23. Feb 2016 um 15:25 schrieb xuelin tian xuelin.tian at qkmtech.com:
 
> Hi all,I recently need to set up some interrups on Zynq via RTEMS, but I got a
> little confusing about it. In C User Manual, it says that we need
> rtems_interrupt_catch to establish an ISR for the system. But, it would go well
> when I tried it. When I dig into the source code, it shows that all the
> directives should be working based on one condition, which is
> CPU_SIMPLE_VECTORED_INTERRUPTS is TRUE. In Zynq, it is FALSE.�And, I also tried
> to configure the interrupts with the memory mapped registers as told in Zynq
> TRM, it did not go well either.�So, any general instructions on this? Thank
> you.�
> 
> 
> Best,TianQ.K.M Technology Co., Ltd.xuelin.tian at qkmtech.com
> 
> 
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160309/64f42b2c/attachment.html>


More information about the users mailing list