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.bas File Reference

Example: analyse the devices configurations. More...

Include dependency graph for analyse.bas:

Go to the source code of this file.

Variables

VAR io = NEW PruIo
 include libpruio More...
 
VAR x = i * (PRUIO_GPIO_DATA SHR 2)
 
VAR b = P8_Pins(i)
 

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:

fbc -w all analyse.bas

Definition in file analyse.bas.

Variable Documentation

VAR io = NEW PruIo

include libpruio

include the convenience macros for header pins create a PruIo structure, wakeup devices

Definition at line 27 of file analyse.bas.

VAR x = i * (PRUIO_GPIO_DATA SHR 2)

Definition at line 34 of file analyse.bas.

VAR b = P8_Pins(i)

Definition at line 52 of file analyse.bas.