Re: PCMCIA polling!?!

From: <hidden>
Date: 2003-06-12 09:15:57

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 [ref] you wrote:
quoted
I'm working on a embedded system with a  TQM860L, and a I have a
doubt that perhaps you might answer.
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help