LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: pavan_savoy@indiatimes.com
To: linuxppc-dev@ozlabs.org
Subject: Hi Question on External Interrupts
Date: Thu, 15 May 2008 12:45:07 +0530 (IST)	[thread overview]
Message-ID: <1655903468.17841210835707224.JavaMail.root@mbv7.indiatimes.com> (raw)



Hi,

being new to low level details of PPC, I have this doubt on the external Interrupt openPIC of some platform like mpc8540ads.

If at all, I request_irq on IRQ_EXT2 [say an example], and the interrupt handler is called, how do I know the line state of such an interrupt ? i.e is it low or high ?

Actually I want to interface a spi or i2c slave device which also connects via an external Interrupt which generates and interrupt and my actions are based upon knowing the line status.

[ Earlier interface was with arm architecture & GPIO and question must be naive].

Thanks

                 reply	other threads:[~2008-05-15  7:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1655903468.17841210835707224.JavaMail.root@mbv7.indiatimes.com \
    --to=pavan_savoy@indiatimes.com \
    --cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox