EVE 1.0
adc_streamer_t Struct Reference

#include <adc0.h>

Collaboration diagram for adc_streamer_t:

Data Fields

struct adc_analog_config_t AnalogConfig
 
struct adc_digital_config_t DigitalConfig
 
uint32_t SampleRate
 
adc_streamer_callback_t Callback
 
void * SampleBuffer [2]
 
uint16_t SampleBufferSize
 
uint8_t InterruptPriority
 
uint8_t PpiChannel
 
bool OversamlingInBurstMode
 

Detailed Description

adc_streamer_t structure is used for configuration of an ADC streamer. The structure must be initialized before the ADC streamer may be used.

Definition at line 193 of file adc0.h.

Field Documentation

struct adc_analog_config_t adc_streamer_t::AnalogConfig

Configuration of the analog part of the ADC

Definition at line 196 of file adc0.h.

struct adc_digital_config_t adc_streamer_t::DigitalConfig

Configuration of the digital part of the ADC

Definition at line 197 of file adc0.h.

uint32_t adc_streamer_t::SampleRate

Sample rate in samples / sec, 0 for external trigger.

Definition at line 198 of file adc0.h.

adc_streamer_callback_t adc_streamer_t::Callback

The callback is called when a buffer is filled

Definition at line 199 of file adc0.h.

void* adc_streamer_t::SampleBuffer[2]

Sample buffer

Definition at line 200 of file adc0.h.

uint16_t adc_streamer_t::SampleBufferSize

Size of a single buffer of the double buffer

Definition at line 201 of file adc0.h.

uint8_t adc_streamer_t::InterruptPriority

NRF_APP_PRIORITIES

Definition at line 202 of file adc0.h.

uint8_t adc_streamer_t::PpiChannel

PPI channel, internally used by the streamer

Definition at line 203 of file adc0.h.

bool adc_streamer_t::OversamlingInBurstMode

true if oversampling is done in bursts

Definition at line 204 of file adc0.h.