All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Handling irq
@ 2008-03-18 12:27 Bosko Radivojevic
  2008-03-18 14:23 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Bosko Radivojevic @ 2008-03-18 12:27 UTC (permalink / raw)
  To: xenomai-help

Hi,

First of all, is there any example for enabling, requesting & handling
IRQ from Xenomai (user-task or kernel-thread, nevermind)?

I'm using AT91SAM9260 based board. I have one peripheral connected to
PC12 pin of microcontroller. If wanted to do it from kernel module I
would do something like:
[..]
at91_set_gpio_input(AT91_PIN_PC12, 1);  // I want pullup
[..]
platform_device_register(..)
request_irq(irq, &myhandler, ...);

I quess it is OK to do at91_set_gpio_input() from kernel, but latter
should be done from Xenomai?

Kind regards,
Bosko


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

end of thread, other threads:[~2008-03-21 11:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 12:27 [Xenomai-help] Handling irq Bosko Radivojevic
2008-03-18 14:23 ` Gilles Chanteperdrix
2008-03-19 11:10   ` Bosko Radivojevic
2008-03-19 20:58     ` Gilles Chanteperdrix
2008-03-20  9:31       ` Bosko Radivojevic
2008-03-21 10:50       ` Bosko Radivojevic
2008-03-21 10:54         ` Gilles Chanteperdrix
2008-03-21 11:10           ` Jan Kiszka

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.