All of lore.kernel.org
 help / color / mirror / Atom feed
From: robert165 <robert165@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Problem in irq_handle
Date: Thu, 25 Mar 2010 10:55:09 +0800 (CST)	[thread overview]
Message-ID: <63e73d99.3c71.127933ea91c.Coremail.robert165@domain.hid> (raw)
In-Reply-To: <4BA9E7E0.6040206@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]





在2010-03-24 18:22:24,"Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org> 写道:
>robert165 wrote:
>> Hi Jan, I am new to xenomai, I am writing a gpio driver based on
>> your "RTDM skeleton v1.1". There is a problem that when I complied
>> and run your skeleton in a at91rm9200 broad with TIMERINT, the output
>> is not show one line one second but very fast. The problem is still
>> whenever I changed the following codes in demo_interrupt()
>> 
>> #ifdef TIMERINT if (events > XXX){ 
>> rtdm_event_signal(&ctx->irq_event); event=0; } ... events++;
>> 
>> And, it seems likely in my own irq_handle of a gpio irq. When the irq
>> arrive, the irq_handle repeats many times. Should I mask the same irq
>> in irq_handle? I did it by write the PIO interrupt mask register, but
>> no effect.
>
>Which interrupt is TIMERINT?

TIMERINT is timer interrupt.
It is in the demo of rtdm driver, the sourse is:
http://www.captain.at/xenomai-real-time-driver-example.php
Best wishes, 
Luo

[-- Attachment #2: Type: text/html, Size: 1845 bytes --]

  reply	other threads:[~2010-03-25  2:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 15:46 [Xenomai-help] crash after termination Stefan Kisdaroczi
2010-03-20 15:53 ` Jan Kiszka
2010-03-22 10:36   ` Stefan Kisdaroczi
2010-03-23  8:00     ` Jan Kiszka
2010-03-23 13:25       ` Stefan Kisdaroczi
2010-03-23 17:06         ` Jan Kiszka
2010-03-23 17:15           ` Gilles Chanteperdrix
2010-03-23 17:23             ` Jan Kiszka
2010-03-24  2:54               ` [Xenomai-help] Problem in irq_handle robert165
2010-03-24 10:22                 ` Gilles Chanteperdrix
2010-03-25  2:55                   ` robert165 [this message]
2010-03-25  7:55                     ` Gilles Chanteperdrix
2010-03-25 12:50                       ` robert165
2010-03-25 13:49                         ` Gilles Chanteperdrix
2010-03-25 14:28                           ` Jan Kiszka

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=63e73d99.3c71.127933ea91c.Coremail.robert165@domain.hid \
    --to=robert165@domain.hid \
    --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.