libpruio  0.0.2
AM33xx-PRU driver for digital input / output and analog input
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
analyse.c File Reference

Example: analyse the devices configurations. More...

#include "stdio.h"
#include "../c_wrapper/pruio_c_wrapper.h"
#include "../c_wrapper/pruio_pins.h"
Include dependency graph for analyse.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Example: analyse the devices configurations.

This file contains an example on how to use libpruio to read the original configuration of the devices. It creates a PruIo structure containing the initial data and then prints out in a human-readable form.

Licence: GPLv3

Copyright 2014 by Thomas{ dOt ]Freiherr[ At ]gmx[ DoT }net

Compile by:

gcc -Wall -o analyse analyse.c /usr/local/lib/freebasic/fbrt0.o -lpruio -L"/usr/local/lib/freebasic/" -lfb -lpthread -lprussdrv -ltermcap -lsupc++ -Wno-unused-variable

Definition in file analyse.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 25 of file analyse.c.

Here is the call graph for this function: