<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Yes, rtems_interrupt_handler_install() works fine for me. Thanks. </div><div>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?</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>Best,</div><div>Tian</div><div>Q.K.M Technology Co., Ltd.</div><div><span style="font-size: 10pt; line-height: 1.5; background-color: window;">xuelin.tian@qkmtech.com</span></div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:sebastian.huber@embedded-brains.de">Sebastian Huber</a></div><div><b>Date:</b> 2016-02-24 04:13</div><div><b>To:</b> <a href="mailto:xuelin.tian@qkmtech.com">xuelin tian</a></div><div><b>CC:</b> <a href="mailto:users@rtems.org">users</a></div><div><b>Subject:</b> Re: How to set up an interrupt on Zynq</div></div></div><div><div>Hello,</div>
<div> </div>
<div>for the interrupt API, see <bsp/irq.h> and <rtems/irq-extension.h>. For examples, search for rtems_interrupt_handler_install() in the drivers.</div>
<div> </div>
<div>----- Am 23. Feb 2016 um 15:25 schrieb xuelin tian xuelin.tian@qkmtech.com:</div>
<div> </div>
<div>> Hi all,I recently need to set up some interrups on Zynq via RTEMS, but I got a</div>
<div>> little confusing about it. In C User Manual, it says that we need</div>
<div>> rtems_interrupt_catch to establish an ISR for the system. But, it would go well</div>
<div>> when I tried it. When I dig into the source code, it shows that all the</div>
<div>> directives should be working based on one condition, which is</div>
<div>> CPU_SIMPLE_VECTORED_INTERRUPTS is TRUE. In Zynq, it is FALSE.�And, I also tried</div>
<div>> to configure the interrupts with the memory mapped registers as told in Zynq</div>
<div>> TRM, it did not go well either.�So, any general instructions on this? Thank</div>
<div>> you.�</div>
<div>> </div>
<div>> </div>
<div>> Best,TianQ.K.M Technology Co., Ltd.xuelin.tian@qkmtech.com</div>
<div>> </div>
<div>> </div>
<div>> _______________________________________________</div>
<div>> users mailing list</div>
<div>> users@rtems.org</div>
<div>> http://lists.rtems.org/mailman/listinfo/users</div>
</div></blockquote>
</body></html>