On Thu, Mar 6, 2014 at 1:57 PM, <[email protected]> wrote:

> Jacek Radzikowski <[email protected]> wrote:
> > [-- text/plain, encoding quoted-printable, charset: ISO-8859-1, 61 lines
> --]
> >
> > Chris,
> >
> > Out of frustration with having to toggle each bit separately, I wrote a
> > library which addresses the problem of scattered I/O pins and allows to
> use
> > up to 32 independent lines as one word. Due to design of the I/O in the
> > processor it is not possible to change at the same time pins scattered
> over
> > multiple banks but, at least from the application point of view, all
> > allocated pins are visible as an n-bit word. The library uses mmap to
> > access the pins, so even with the translation layer between the
> application
> > and the hardware it still should be faster than using file I/O on /sys
> > entries.
> > The code is posted on github: https://github.com/piranha32/IOoo
> >
> Thanks Jacek, that looks very useful, especially as you've done a
> HD44780-compatible LCD displays device driver as that's what I'm using
> it for at the moment.
>
>
LCD is not the best example of use of the library, because you still have
to do some bit magic to set control signals and data lines in the I/O
block, but shows how you can abstract the interface from physical
allocation of bits.
However it still can save some time if you want to add an alphanumeric
display to your design.

j.





>  --
> Chris Green
> ยท
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Given a choice between two theories, take the one which is funnier

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to