EVE 1.0
adc_channel_t Struct Reference

#include <adc0.h>

Collaboration diagram for adc_channel_t:

Data Fields

struct adc_analog_config_t AnalogConfig
 
struct adc_digital_config_t DigitalConfig
 
struct adc_mux_config_t MuxConfig
 
uint32_t Interval
 
adc_callback_t Callback
 
uint32_t uDelay
 

Detailed Description

adc_channel_t structure is used for configuration one ADC channel. The channel can be configured to have an analog mux. The structure must be initialized before the ADC driver may be used.

Definition at line 176 of file adc0.h.

Field Documentation

struct adc_analog_config_t adc_channel_t::AnalogConfig

Configuration of the analog part of the ADC

Definition at line 179 of file adc0.h.

struct adc_digital_config_t adc_channel_t::DigitalConfig

Configuration of the digital part of the ADC

Definition at line 180 of file adc0.h.

struct adc_mux_config_t adc_channel_t::MuxConfig

Multiplexor configuration

Definition at line 181 of file adc0.h.

uint32_t adc_channel_t::Interval

1/1.024 ms resolution

Definition at line 182 of file adc0.h.

adc_callback_t adc_channel_t::Callback

Callback function pointer for external power-up of ADC channel

Definition at line 183 of file adc0.h.

uint32_t adc_channel_t::uDelay

Delay in usec to wait after callback for power-on

Definition at line 184 of file adc0.h.