RocketLogger  1.1.6
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 170 of file pru.h.

Field Documentation

uint32_t pru_data_struct::buffer0_location

Pointer to shared buffer 0.

Definition at line 178 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::buffer1_location

Pointer to shared buffer 1.

Definition at line 180 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::buffer_size

Shared buffer size.

Definition at line 182 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 188 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 186 of file pru.h.

Referenced by pru_data_setup().

uint32_t pru_data_struct::precision

ADC precision (in bit)

Definition at line 174 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 184 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 176 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 172 of file pru.h.

Referenced by pru_data_setup(), and pru_sample().


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