All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Set  gpio irq priority with tzic_set_irq_prio(int irq, int hi)
@ 2013-06-08 15:40 嵌入式工程师
  2013-06-08 17:25 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: 嵌入式工程师 @ 2013-06-08 15:40 UTC (permalink / raw)
  To: xenomai

Now I use Imx53 gpio2-14 to be a interrupt source ,but I found its priority so lower . 
So I use tzic_set_irq_prio(int irq, int hi) 
.................................
.............................




 MY_GPIO2_14=(1*32+14)+128;
 irq=irq_ to_gpio( MY_GPIO2_14);
 mxc_tzic_init_irq(IMX53_TZIC_BASE_ADDR);
 tzic_set_irq_prio(irq,20);//chang the priority to #30
.................................
......................................


Is it right?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-09  7:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-08 15:40 [Xenomai] Set gpio irq priority with tzic_set_irq_prio(int irq, int hi) 嵌入式工程师
2013-06-08 17:25 ` Gilles Chanteperdrix
2013-06-09  2:28   ` 嵌入式工程师
2013-06-09  7:15     ` Gilles Chanteperdrix
2013-06-09  7:16     ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.