![]() |
EVE 1.0
|
Driver for ADC scheduling and integration. More...
Go to the source code of this file.
Data Structures | |
struct | adc_state_t |
struct | adc_streamer_state_t |
struct | adc_mux_config_t |
struct | adc_analog_config_t |
struct | adc_digital_config_t |
struct | adc_channel_t |
struct | adc_streamer_t |
struct | adc_schedule_t |
Typedefs | |
typedef void(* | adc_callback_t) (enum adc_cb_parameter_t AdcCbParameter) |
typedef void(* | adc_streamer_callback_t) (const struct adc_streamer_t *Adc, uint8_t SampleBufIndex) |
Enumerations |
Functions | |
Functions called from application programs | |
void | Adc0Init (const struct adc_schedule_t *AdcSchedule) |
Name: Adc0Init Initializes pointers used by ADC scheduler. Called from main program level. More... | |
bool | Adc0ChannelConfig (const struct adc_channel_t *Adc, int Index, const struct adc_analog_config_t *Config) |
Name: Adc0ChannelConfig Configures an analog channel in scan mode. More... | |
bool | Adc0ChannelStart (const struct adc_channel_t *Adc, uint32_t TimeRef) |
Name: Adc0ChannelStart Starts one ADC channel scheduler based on input parameters. More... | |
void | Adc0ManualScheduler (const struct adc_channel_t *Adc) |
Name: Adc0ManualScheduler Called by application for manual data scheduling. More... | |
void | Adc0ChannelDisable (const struct adc_channel_t *Adc) |
Name: Adc0ChannelDisable Disables one ADC channel scheduler based on input parameters. When all channels are disabled, the scheduler is stopped. More... | |
void | Adc0ChannelDisableAll (void) |
Name: Adc0ChannelDisableAll Disables all ADC channel schedulers and stops the scheduler. | |
uint16_t | Adc0GetMuxValue (const struct adc_channel_t *Adc, uint8_t MuxChannel) |
Name: Adc0GetMuxValue Starts ADC for selected ADC channel and mux input. More... | |
static uint16_t | Adc0GetValue (const struct adc_channel_t *Adc) |
Name: Adc0GetValue Starts ADC for selected ADC channel. More... | |
uint16_t | Adc0GetLastMuxValue (const struct adc_channel_t *Adc, uint8_t MuxChannel) |
Name: Adc0GetLastMuxValue Returns last converted ADC value for selected ADC channel and mux input. More... | |
static uint16_t | Adc0GetLastValue (const struct adc_channel_t *Adc) |
Name: Adc0GetLastValue Returns last converted ADC value for selected ADC channel. More... | |
uint32_t | Adc0GetIntegratedMuxValue (const struct adc_channel_t *Adc, uint8_t MuxChannel, uint16_t *Count) |
Name: Adc0GetIntegratedMuxValue Returns integrated ADC value for selected ADC channel and mux input. More... | |
static uint32_t | Adc0GetIntegratedValue (const struct adc_channel_t *Adc, uint16_t *Count) |
Name: Adc0GetIntegratedValue Returns integrated ADC value for selected ADC channel. More... | |
uint16_t | Adc0GetMeanMuxValue (const struct adc_channel_t *Adc, uint8_t MuxChannel) |
Name: Adc0GetMeanMuxValue Returns mean ADC value for selected ADC channel and mux input. More... | |
static uint16_t | Adc0GetMeanValue (const struct adc_channel_t *Adc) |
Name: Adc0GetMeanValue Returns mean ADC value for selected ADC channel. More... | |
bool | Adc0StreamerStart (const struct adc_streamer_t *Adc) |
Name: Adc0StreamerStart Starts continous sampling and streaming of data. More... | |
void | Adc0StreamerDisable (const struct adc_streamer_t *Adc) |
Name: Adc0StreamerDisable Stops continous sampling and streaming of data. More... | |
Driver for ADC scheduling and integration.
Definition in file adc0.h.