From: 嵌入式工程师 <ericvic@163.com>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Set gpio irq priority with tzic_set_irq_prio(int irq, int hi)
Date: Sun, 9 Jun 2013 10:28:53 +0800 (CST) [thread overview]
Message-ID: <1920c252.310b.13f26c3cd2d.Coremail.ericvic@163.com> (raw)
In-Reply-To: <51B368EF.3060301@xenomai.org>
Then what should change the priority please?
在 2013-06-09 01:25:03,"Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org> 写道:
>On 06/08/2013 05:40 PM, 嵌入式工程师 wrote:
>
>> Now I use Imx53 gpio2-14 to be a interrupt source ,but I found its priority so lower .
>
>
>How is that? All the gpio irqs have the same priority.
>
>> 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?
>
>
>No. tzic_set_irq_prio is an internal function to be used by Xenomai. You
>do not need to use it.
>
>> _______________________________________________
>> Xenomai mailing list
>> Xenomai@xenomai.org
>> http://www.xenomai.org/mailman/listinfo/xenomai
>
>
>
>--
> Gilles.
next prev parent reply other threads:[~2013-06-09 2:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` 嵌入式工程师 [this message]
2013-06-09 7:15 ` Gilles Chanteperdrix
2013-06-09 7:16 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1920c252.310b.13f26c3cd2d.Coremail.ericvic@163.com \
--to=ericvic@163.com \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.