libpruio  0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
pruIo Struct Reference

Wrapper structure for PruIo. More...

#include <src/c_include/pruio.h>

Collaboration diagram for pruIo:

Public Attributes

char * Errr
 Pointer for error messages.
 
adcUdtAdc
 Pointer to ADC subsystem structure.
 
gpioUdtGpio
 Pointer to GPIO subsystem structure.
 
pwmssUdtPwmSS
 Pointer to PWMSS subsystem structure.
 
timerUdtTimSS
 Pointer to TIMER subsystem structure.
 
pwmModPwm
 Pointer to ePWM module structure (in PWMSS subsystem).
 
capModCap
 Pointer to eCAP module structure (in PWMSS subsystem).
 
qepModQep
 pointer to eQEP module structure (in PWMSS subsystem)
 
timerUdtTim
 Pointer to the TimSS structure (for homogenous API).
 
uint32DRam
 Pointer to access PRU DRam.
 
ballSetInit
 The subsystems register data at start-up (to restore subsystems at the end).
 
ballSetConf
 The subsystems register data used by libpruio (current local data).
 
void * ERam
 Pointer to read PRU external ram.
 
void * DInit
 Pointer to block of subsystems initial data.
 
void * DConf
 Pointer to block of subsystems configuration data.
 
void * MOffs
 Configuration offset for modules.
 
uint8BallInit
 Pointer for original Ball configuration.
 
uint8BallConf
 Pointer to ball configuration (CPU pin muxing).
 
uint32 EAddr
 The address of the external memory (PRUSS-DDR).
 
uint32 ESize
 The size of the external memory (PRUSS-DDR).
 
uint32 DSize
 The size of a data block (DInit or DConf).
 
uint32 PruNo
 The PRU number to use (defaults to 1).
 
uint32 PruIRam
 The PRU instruction ram to load.
 
uint32 PruDRam
 The PRU data ram.
 
uint32 PruIntNo
 The PRU interrupt number.
 
int16 ParOffs
 The offset for the parameters of a module.
 
int16 DevAct
 Active subsystems.
 
uint32 BbType
 Type of Beaglebone board (1 = Pocket-, 0 = others)
 
uint32 MuxFnr
 FreeBASIC file number for LKM pinmuxing.
 
char * MuxAcc
 pathfile for dtbo pinmuxing
 
char(* setPin )(pruIo *, uint8, uint8)
 
uint8 BallGpio [PRUIO_AZ_BALL+1]
 List of GPIO numbers, corresponding to ball index.
 
struct __pruss_intc_initdataIntcInit
 Interrupt settings (we also set default interrupts, so that the other PRUSS can be used in parallel).
 
uint32 WaitCycles
 

Detailed Description

Wrapper structure for PruIo.

Since
0.0

Definition at line 550 of file pruio.h.

Member Data Documentation

◆ setPin

char(* pruIo::setPin) (pruIo *, uint8, uint8)

callback function for LKM/dtbo pinmuxing

Definition at line 589 of file pruio.h.


The documentation for this struct was generated from the following file: