[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Parallel port Input in Manual mode
There is no way to get an interrupt from the parallel port pins
in manual mode. You can get interrupt from the IRQ pin or one
of the Port A pins. If you have an old devboard it may be
tricky because you need to dismount a serial port or conenct
a wire to the pull-up resistor on the IRQ pin. On a devboard 82
the IRQ pin should be accessible.
From: email@example.com">mailto:firstname.lastname@example.org] On
Behalf Of Alok
Sent: Monday, December 08, 2003 12:48 PM
Subject: Parallel port Input in Manual mode
I am currently driving an LCD from Parallel port 0 of Devboard 82 in 4
mode. For the purpose I am using 6 data pin (4 for data and 2 for LCD RS
I also want attach one switch to the parallel port so that when the
is pressed an Interrupt is generated. I went through the dev-etrax
for seeking some help. What all I could get is that I cannot do so till
port is in Manual mode.
I tried resetting the port after writing to the lcd. But that also
the LCD display. So I have to keep the Parallel port on Manual mode
I also tried registering interrupt handler with IRQ 10 at the device
The request_irq call is successful. but when I apply input at any of the
ack,busy,select_in or paper_error, the handler does not get invoked.
Can anybody help me out in this scenario.