ArchXT_ADCConfig Struct Reference
|
yasimavr
|
Loading...
Searching...
No Matches
ArchXT_ADCConfig Struct Reference
Configuration structure for ArchXT_ADC. More...
#include <arch_xt_adc.h>
Classes | |
| struct | reference_config_t |
Public Attributes | |
| 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) | |
Detailed Description
Configuration structure for ArchXT_ADC.
Member Data Documentation
◆ channels
| std::vector<ADC::channel_config_t> ArchXT_ADCConfig::channels |
List of the ADC channels.
◆ clk_ps_factors
| std::vector<unsigned long> ArchXT_ADCConfig::clk_ps_factors |
List of the clock prescaler factors.
◆ clk_ps_max
| unsigned long ArchXT_ADCConfig::clk_ps_max |
Wrapping value for the ADC clock prescaler.
◆ init_delays
| std::vector<unsigned long> ArchXT_ADCConfig::init_delays |
List of conversion delay values.
◆ iv_resready
| int_vect_t ArchXT_ADCConfig::iv_resready |
Interrupt vector index for ADC_RESREADY.
◆ iv_wincmp
| int_vect_t ArchXT_ADCConfig::iv_wincmp |
Interrupt vector index for ADC_WINCMP.
◆ references
| std::vector<reference_config_t> ArchXT_ADCConfig::references |
List of the voltage references.
◆ reg_base
| reg_addr_t ArchXT_ADCConfig::reg_base |
Base address for the peripheral I/O registers.
◆ temp_cal_25C
| double ArchXT_ADCConfig::temp_cal_25C |
Temperature sensor calibration offset (in V at +25°C)
◆ temp_cal_coef
| double ArchXT_ADCConfig::temp_cal_coef |
Temperature sensor calibration linear coef (in V/°C)
◆ vref_channel
| unsigned int ArchXT_ADCConfig::vref_channel |
Channel index for the voltage reference.
The documentation for this struct was generated from the following file:
Generated by