[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
----- Original Message -----
From: "Dave Matlock" <Dave.Matlock@xxxxxxx.com>
To: "dev-etrax" <firstname.lastname@example.org>
Sent: den 3 november 2003 17:47
> >From the code below (from
http://mhonarc.axis.se/dev-etrax/msg02558.html), how do I determine which
pins are going to be set? How would I have determined that 0xffff << 8 is
referring to the 16 data pins on the parallel ports?
Chapter 20.9 in the designers reference:
> Also, is oe = 0x1 << 5 for enabling output on the parallel port? Is this
> if the parallel port is disabled in the kernel?
Yes, you shouldn't need to control the oe pin unless you have
external drivers that are controlled by the oe pin.
- From: "Dave Matlock" <Dave.Matlock@xxxxxxx.com>