libpruio  0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
__prussdrv Class Reference

Date structure for uio_pruss userspace part. More...

Collaboration diagram for __prussdrv:

Public Attributes

Int32 mmap_fd
 file descriptor for memory mappings.
 
Int32 fd [NUM_PRU_HOSTIRQS+1]
 Array for Irq file descriptors.
 
ANY_PTR pru0_dataram_base
 Mapped start address DRam PRU0.
 
ANY_PTR pru1_dataram_base
 Mapped start address DRam PRU1.
 
ANY_PTR intc_base
 Mapped start address interrupt controller.
 
ANY_PTR pru0_control_base
 Mapped start address control register PRU0.
 
ANY_PTR pru1_control_base
 Mapped start address control register PRU1.
 
ANY_PTR pru0_iram_base
 Mapped start address instruction ram PRU0.
 
ANY_PTR pru1_iram_base
 Mapped start address instruction ram PRU1.
 
ANY_PTR extram_base
 Mapped start address external memory block.
 
ANY_PTR pruss_sharedram_base
 Mapped start address shared memory.
 
UInt32 pru0_dataram_phy_base = &h4a300000
 Physical address DRam PRU0.
 
UInt32 pru1_dataram_phy_base = &h4a302000
 Physical address DRam PRU1.
 
UInt32 intc_phy_base = &h4a320000
 Physical address interrupt controller.
 
UInt32 pru0_control_phy_base = &h4a322000
 Physical address control registers PRU0.
 
UInt32 pru1_control_phy_base = &h4a324000
 Physical address control registers PRU1.
 
UInt32 pru0_iram_phy_base = &h4a334000
 Physical address instruction ram PRU0.
 
UInt32 pru1_iram_phy_base = &h4a338000
 Physical address instruction ram PRU1.
 
UInt32 pruss_sram_phy_base = &h4a310000
 Physical address shared memory.
 
UInt32 pruss_map_size
 Size of PRUSS memory mapping block.
 
UInt32 extram_phys_base
 Physical address of external memory.
 
UInt32 extram_map_size
 Size of external memory from uio_pruss
 
tpruss_intc_initdata intc_data
 A copy of the interrupt settings.
 

Detailed Description

Date structure for uio_pruss userspace part.

The structure contains data for the user space part of the uio_pruss kernel driver. It contains physical and virtual adresses of PRUSS memory registers.

Since
0.6

Definition at line 28 of file pruio_prussdrv.bi.


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