On Fri, 01 Mar 2013 08:39:51 -0700
ben <bfranchuk at jetnet.ab.ca> wrote:
I want to bit bang the hardware!
NetBSD has a
special device driver framework for this: gpio(4)
NAME
gpio -- General Purpose Input/Output
[...]
DESCRIPTION
The gpio device attaches to the GPIO controller and provides a uniform
programming interface to its pins.
Each GPIO controller with an attached gpio device has an associated
device file under the /dev directory, e.g. /dev/gpio0. Access from
userland is performed through ioctl(2) calls on these devices.
[...]
--
\end{Jochen}
\ref{http://www.unixag-kl.fh-kl.de/~jkunz/}