Struct ArchXT_ADCConfig

Nested Relationships

Nested Types

Struct Documentation

struct ArchXT_ADCConfig

Configuration structure for ArchXT_ADC.

Public Members

std::vector<ADC::channel_config_t> channels

List of the ADC channels.

std::vector<reference_config_t> references

List of the voltage references.

unsigned int vref_channel

Channel index for the voltage reference.

std::vector<unsigned long> clk_ps_factors

List of the clock prescaler factors.

unsigned long clk_ps_max

Wrapping value for the ADC clock prescaler.

std::vector<unsigned long> init_delays

List of conversion delay values.

reg_addr_t reg_base

Base address for the peripheral I/O registers.

int_vect_t iv_resready

Interrupt vector index for ADC_RESREADY.

int_vect_t iv_wincmp

Interrupt vector index for ADC_WINCMP.

double temp_cal_25C

Temperature sensor calibration offset (in V at +25°C)

double temp_cal_coef

Temperature sensor calibration linear coef (in V/°C)

struct reference_config_t : public base_reg_config_t

Public Members

VREF::Source source