From: Jan Kiszka <jan.kiszka@domain.hid>
To: Perrine Martignoni <perrmart@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] IRQ managment with RTDM
Date: Fri, 05 Oct 2007 00:06:38 +0200 [thread overview]
Message-ID: <470563EE.9000406@domain.hid> (raw)
In-Reply-To: <7289437c0710040254t676bf4u2615d5d794e82045@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
Perrine Martignoni wrote:
> Hello,
>
> I would like to know how we configure interrupts in falling edge or rising
> edge with RTDM.
> I have to rewrite a linux driver in RTDM module and I don't find the
> equivalent of IRQF_TRIGGER_FALLING.
There is no such thing in RTDM. You can use set_irq_type() for this,
like some Linux drivers do as well. But the cleaner approach indeed seem
to be to let RTDM manage the flags (and check if there conflicts in case
of shared IRQs). Will put it on the todo list, but not with a high prio.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2007-10-04 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-04 9:54 [Xenomai-help] IRQ managment with RTDM Perrine Martignoni
2007-10-04 22:06 ` Jan Kiszka [this message]
2007-10-05 7:18 ` Perrine Martignoni
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=470563EE.9000406@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=perrmart@domain.hid \
--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.