It's very easy to get an interrupt from the parallel port. To enable
interrupts from a standard parallel port, you have to write the value 0x10
to the I/O address port_base+2. The interrupt itself is, IIRC, on pin 10.
It's a TTL signal and the nature of the interrupt (edge vs. level) depends
on how the PIC is programmed; it's either a low pulse or a leading edge.
Norm
> -----Original Message-----
> From: Tomasz Motylewski [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 04, 1999 6:16 PM
> To: Peter Wurmsdobler
> Cc: [EMAIL PROTECTED]
> Subject: Re: [rtl] external interrupt generation
>
> On Wed, 3 Nov 1999, Peter Wurmsdobler wrote:
>
> > generation scheme due to the board characteristics. Of course,
> > I could buy a board, in which the daq path and the external
> > interupt generation path are separated, but..
>
> Or just get ISA specs and solder one wire to a free interrupt line on your
> board or directly to the mainboard. Protect it against catching spikes.
>
> > Now the question: Could I use the serial or parallel port at
> > this speed with a deterministic latency between the external
> > signal and the interrupt generation, or is there a better
> > solution?
>
> I think is should be possible to get interrupts from parallel port.
>
> --
> Tomek
>
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/