Hi everyone, I have Windows CE 6.0 and x86 platform.
I want a process to be notified when a change on any pin from the
parallel port occurs, without doing a poll. How can I register for
that
signal on the parallel port?

Should I create ISRHandler or it is possible to set OS system (Windows
CE 6.0) to register that signal on parallel port? If anyone knows how
to
create an Interrupt Service handler, or has a sample that I can start
off with (one that both has the ISR, the IST and registers the ISR),
that would also be very helpful to start with. I have been reading the
documentation on MSDN on how to implement an ISR, but I cannot connect
all the pieces of all the steps I need to take.

My goal is to measure Interrupt Latency Response Time on my OS system,
by creating a signal using an external signal generator on one of the
pins of the parallel port, and then having my process wake up, and
generate a signal on a pin on the parallel port too.

Re: ISRHandler problem by Luca

Luca
Sun Aug 24 23:11:33 PDT 2008

For the parallel port an interrupt will occur upon a low to high transition
(rising edge) of the nACK pin; this is the only pin you can use for your
purpose.
Anyway, if you want to measure the interrupt latency you may implement ILT
support in the OAL (http://msdn.microsoft.com/en-us/library/aa914439.aspx):
since your BSP is x86 based, it will probably already support it

--

Luca Calligaris
www.eurotech.it

<vlatko.petkoski@makidea.com> ha scritto nel messaggio
news:604b3f74-c0a2-4f1e-b441-448f33c9f8e9@l64g2000hse.googlegroups.com...
> Hi everyone, I have Windows CE 6.0 and x86 platform.
> I want a process to be notified when a change on any pin from the
> parallel port occurs, without doing a poll. How can I register for
> that
> signal on the parallel port?
>
> Should I create ISRHandler or it is possible to set OS system (Windows
> CE 6.0) to register that signal on parallel port? If anyone knows how
> to
> create an Interrupt Service handler, or has a sample that I can start
> off with (one that both has the ISR, the IST and registers the ISR),
> that would also be very helpful to start with. I have been reading the
> documentation on MSDN on how to implement an ISR, but I cannot connect
> all the pieces of all the steps I need to take.
>
> My goal is to measure Interrupt Latency Response Time on my OS system,
> by creating a signal using an external signal generator on one of the
> pins of the parallel port, and then having my process wake up, and
> generate a signal on a pin on the parallel port too.