libpruio-0.2 (fast and easy D/A - I/O)
Fast and easy digital input/output and analog input for Beaglebone hardware with PRU subsystem.
Developing I/O tasks on Beaglebone (white or black) hardware isn't really fun (effective May 2014). For digital I/O you've to deal with issues like
And also for analog input the situation isn't better
Most operations either need root privileges or a lot of configurations to get access for a normal user. Furthermore, all I/O isn't fast due to the slow file operations.
in real time by software running on the PRUSS (Programable Realtime Unit SubSystem). The API is designed for easy and safe usage, but also for high speed operations. For the daily work you need not care about mystic tables with CPU ball numbers or GPIO codes. Instead specify what you see (ie. P8_11 = header P8, pin 11).
The library can be used under the terms of the Lesser GNU Public Licence version 2 (LGPLv2). The package also contains a C wrapper for the library and examples (under GPLv3) in FreeBASIC syntax (most of them are also included in C syntax):
Since version 0.2, tools to create, compile and install device tree overlays are included. They support either customized overlays with fixed pin configurations or universal overlays with run-time pinmuxing capability.
libpruio (D/A - I/O schnell und einfach)
Projected created on: Fri May 09 2014 16:49:27 GMT-0000 (UTC)
Submitted by: tjfr.wordpress.com
Last updated on: Mon Oct 27 2014 08:25:11 GMT-0000 (UTC)