RocketLogger 2.1.2
pru_control Struct Reference

#include <pru.h>

Data Fields

pru_state_t state
 Current PRU state. More...
 
uint32_t sample_rate
 Sample rate of the ADC (in kSPS) More...
 
uint32_t sample_limit
 Samples to take (0 for continuous) More...
 
uint32_t buffer_length
 Shared buffer length in number of data elements. More...
 
uint32_t buffer0_addr
 Memory address of the shared buffer 0. More...
 
uint32_t buffer1_addr
 Memory address of the shared buffer 1. More...
 

Detailed Description

Struct for controlling the PRU

Definition at line 83 of file pru.h.

Field Documentation

◆ buffer0_addr

uint32_t pru_control::buffer0_addr

Memory address of the shared buffer 0.

Definition at line 93 of file pru.h.

Referenced by pru_control_init(), and pru_sample().

◆ buffer1_addr

uint32_t pru_control::buffer1_addr

Memory address of the shared buffer 1.

Definition at line 95 of file pru.h.

Referenced by pru_control_init(), and pru_sample().

◆ buffer_length

uint32_t pru_control::buffer_length

Shared buffer length in number of data elements.

Definition at line 91 of file pru.h.

Referenced by pru_control_init(), and pru_sample().

◆ sample_limit

uint32_t pru_control::sample_limit

Samples to take (0 for continuous)

Definition at line 89 of file pru.h.

Referenced by pru_control_init(), and pru_sample().

◆ sample_rate

uint32_t pru_control::sample_rate

Sample rate of the ADC (in kSPS)

Definition at line 87 of file pru.h.

Referenced by pru_control_init().

◆ state

pru_state_t pru_control::state

Current PRU state.

Definition at line 85 of file pru.h.

Referenced by pru_control_init(), and pru_sample().


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