[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Reading data from par0
There is a bidirectional buffer between ETRAX and the parallel port.
The direction of this buffer is set by changing the oe bit in
R_PAR0_CTRL_DATA. Examples on how to do this can be found in
From: firstname.lastname@example.org">mailto:email@example.com] On Behalf Of Ion
Sent: Tuesday, July 01, 2003 12:58 PM
Subject: Reading data from par0
I want to read data(d0-d7,input/output) from the parallel port
par0.Normally,when I want to read data from an input/output port I need
high impedance at the entrance. Is it enough If I read the register
R_PAR0_STATUS_DATA(0-7) to get this high impedance and apply an
input?When can I apply an input, and when can I read it, in what moment?
Ion Cadierno Gomez