[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem reading parallel port



Hello!

I have an ETRAX 100LX with devboard R 2_0_0.

Im writing a device driver for reading the parallel port in user mode. 
If I read the port with:

val = (*R_PAR0_STATUS_DATA) & 0xff;

val always contains 0. All other bits a set correctly. Only the data 
bits are 0.

can you please help me.

thx
	Thomas

-- 
Thomas Hutterer
e-mail: Thomas.Hutterer@xxxxxxx.at