linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: jmouro@iol.pt
To: Wolfgang Denk <wd@denx.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: PCMCIA polling!?!
Date: Thu, 12 Jun 2003 10:15:57 +0100	[thread overview]
Message-ID: <5f23aa5f1089.5f10895f23aa@iol.pt> (raw)


Hi,
in fact the system I'm working in,
uses the PCMCIA input ports as general purpose input ports.
Some signals are used to configure an Altera FPGA device, and 2 signals =
are connected to a power supply unit(PSU). The PSU must signal the PPC =
when a power fail occurs, and this is done by those 2 signals.
Can the system use edge detection and interrupt capability (on those 2 =
lines - IPA6 IPA7) or shall it perform a polling.
Thanks for your attention

Jo=E3o Mouro


> Dear Jmouro,
>
> in message <5bf7b05c1bab.5c1bab5bf7b0@iol.pt> you wrote:
> >
> > I'm working on a embedded system with a  TQM860L, and a I have a
> doubt that perhaps you might answer.
> > I've 2 signals related with system defects (power supply
> defects) connected to PCMCIA channel II (IPBx). Is there a way to
> check if those signals where triggered without polling them? Like
> in interrupt lines? In that way I could
>
> Maybe you can explain what exactly you are  trying  to  do?  Actually
> there are 4 voltage detect lines: CBVS1/2 (Voltage Sense 1 and 2) and
> CBBVD1/2  (Battery  Voltage  Detect 1 and 2). Interrupts can be abled
> individualy for each of the 4 pins in  the  PCMCIA  Interface  Enable
> Register.
>
> But normally you don't have to care about this stuff - if you want to
> use a PCMCIA Card with the system the PCMCIA  Card  Services  package
> will  handle  all  such  events.  PCMCIA Card Service support for the
> TQM8xxL modules / STK8xxL starter kit  is  ready  available  -  don't
> re-invent the wheel.
>
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
> Overdrawn?  But I still have checks left!
>
>


** Sent via the linuxppc-embedded mail list. See =
http://lists.linuxppc.org/

             reply	other threads:[~2003-06-12  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-12  9:15 jmouro [this message]
2003-06-12 10:09 ` PCMCIA polling!?! Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-06-11 14:51 jmouro
2003-06-11 20:31 ` Wolfgang Denk

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=5f23aa5f1089.5f10895f23aa@iol.pt \
    --to=jmouro@iol.pt \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=wd@denx.de \
    /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;
as well as URLs for NNTP newsgroup(s).