All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pruIo Struct Reference

Wrapper structure for PruIo. More...

`#include <src/c_wrapper/pruio.h>`

Collaboration diagram for pruIo:
[legend]

## Public Attributes

adcUdt * | Adc
| pointer to ADC device structure
gpioUdt * | Gpio
| pointer to GPIO device structure
pwmssUdt * | PwmSS
| pointer to PWMSS device structure
pwmMod * | Pwm
| pointer to the ePWM module structure (in PWMSS devices)
capMod * | Cap
| pointer to the eCAP module structure (in PWMSS devices)
char * | Errr
| pointer for error messages
uint32 * | DRam
| pointer to access PRU DRam
ballSet * | Init
| The devices register data at start-up (to restore devices at the end)
ballSet * | Conf
| The devices register data used by libpruio (current local data)
void * | ERam
| pointer to read PRU external ram
void * | DInit
| pointer to block of devices initial data
void * | DConf
| pointer to block of devices configuration data
void * | MOffs
| configuration offset for modules
uint8 * | BallOrg
| pointer for original Ball configuration
uint8 * | BallConf
| 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 | PruEvtOut
| the interrupt channel to send commands to PRU
uint32 | PruIRam
| the PRU instruction ram to load
uint32 | PruDRam
| the PRU data ram
int16 | ArmPruInt
| the interrupt to send
int16 | ParOffs
| the offset for the parameters of a module
int16 | DevAct
| active devices
struct __pruss_intc_initdata | IntcInit
| interrupt settings (we also set default interrupts, so that the other PRUSS can be used in parallel)
uint8 | BallGpio [PRUIO_AZ_BALL+1]
| list of GPIO numbers, corresponding to ball index

## Detailed Description

Wrapper structure for PruIo.

Since
  0.0

Definition at line 403 of file pruio.h.

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

- src/c_wrapper/pruio.h