RocketLogger  1.0
pru_data_struct Struct Reference

#include <pru.h>

Data Fields

rl_pru_state state
 Current PRU state. More...
 
uint32_t precision
 ADC precision (in bit) More...
 
uint32_t sample_size
 Sample size in shared memory. More...
 
uint32_t buffer0_location
 Pointer to shared buffer 0. More...
 
uint32_t buffer1_location
 Pointer to shared buffer 1. More...
 
uint32_t buffer_size
 Shared buffer size. More...
 
uint32_t sample_limit
 Samples to take (0 for continuous) More...
 
uint32_t number_commands
 Number of ADC commands to send. More...
 
uint32_t commands [NUMBER_ADC_COMMANDS]
 ADC commands to send. More...
 

Detailed Description

Struct for data exchange with PRU

Definition at line 141 of file pru.h.

Field Documentation

uint32_t pru_data_struct::buffer0_location

Pointer to shared buffer 0.

Definition at line 149 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::buffer1_location

Pointer to shared buffer 1.

Definition at line 151 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::buffer_size

Shared buffer size.

Definition at line 153 of file pru.h.

Referenced by pru_data_setup(), and pru_sample().

uint32_t pru_data_struct::commands[NUMBER_ADC_COMMANDS]

ADC commands to send.

Definition at line 159 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::number_commands

Number of ADC commands to send.

Definition at line 157 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::precision

ADC precision (in bit)

Definition at line 145 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::sample_limit

Samples to take (0 for continuous)

Definition at line 155 of file pru.h.

Referenced by pru_data_setup(), and pru_sample().

uint32_t pru_data_struct::sample_size

Sample size in shared memory.

Definition at line 147 of file pru.h.

Referenced by pru_data_setup(), and pru_sample().

rl_pru_state pru_data_struct::state

Current PRU state.

Definition at line 143 of file pru.h.

Referenced by pru_data_setup(), and pru_sample().


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