From: "Ignacio García Pérez" <iggarpe@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] rt_intr_enable() requierd after rt_intr_create
Date: Tue, 29 Nov 2005 14:09:42 +0100 [thread overview]
Message-ID: <438C5316.70204@domain.hid> (raw)
Hi,
I noticed that when an interrupt object is created using
rt_intr_create(), it is created disabled, and a call to rt_intr_enable()
is necessary for the ISR to be called.
Question is: is this the expected behaviour?. If so, I think this should
be mentioned somewhere in the rt_intr_create documentation. In fact,
from reading the docs one could infer the opposite.
On a related issue, I noticed that the rt_intr_enable() documentation says:
"Enables the hardware interrupt line associated with an interrupt
object. Over Adeos-based systems which mask and acknowledge IRQs upon
receipt, this operation is necessary to revalidate the interrupt channel
so that more interrupts from the same source can be notified."
Is this correct?. I ask because the rt_intr_create() documentation tells
you to just return RT_INTR_ENABLE from the ISR if you want this. It's
confusing.
Nacho.
next reply other threads:[~2005-11-29 13:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-29 13:09 Ignacio García Pérez [this message]
2005-11-29 13:28 ` [Xenomai-core] rt_intr_enable() requierd after rt_intr_create Philippe Gerum
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=438C5316.70204@domain.hid \
--to=iggarpe@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.