ArchAVR_ADCConfig Struct Reference
|
yasimavr
|
Configuration structure for ArchAVR_ADC. More...
#include <arch_avr_adc.h>
Classes | |
| struct | reference_config_t |
| struct | trigger_config_t |
Public Types | |
| enum | Trigger { Trig_Manual , Trig_FreeRunning , Trig_External } |
Public Attributes | |
| std::vector< ADC::channel_config_t > | channels |
| List of the channels. | |
| std::vector< reference_config_t > | references |
| List of the voltage references. | |
| std::vector< unsigned long > | clk_ps_factors |
| List of the prescaler factors for the ADC clock. | |
| std::vector< trigger_config_t > | triggers |
| List of the autotrigger sources. | |
| unsigned int | vref_channel |
| Channel index for the internal voltage reference. | |
| reg_addr_t | reg_datal |
| Register address for the result low byte. | |
| reg_addr_t | reg_datah |
| Register address for the result high byte. | |
| regbit_t | rb_chan_mux |
| Regbit for the channel mux selection. | |
| regbit_t | rb_ref_mux |
| Regbit for the reference mux selection. | |
| regbit_t | rb_enable |
| Regbit for the enable bit. | |
| regbit_t | rb_start |
| Regbit for the conversion manual start bit. | |
| regbit_t | rb_auto_trig |
| Regbit for the auto-trigger enable bit. | |
| regbit_t | rb_int_enable |
| Regbit for the interrupt enable bit. | |
| regbit_t | rb_int_flag |
| Regbit for the interrupt flag bit. | |
| regbit_t | rb_prescaler |
| Regbit for the clock prescaler selection. | |
| regbit_t | rb_trig_mux |
| Regbit for the auto-trigger mux selection. | |
| regbit_t | rb_bipolar |
| Regbit for the bipolar mode. | |
| regbit_t | rb_left_adj |
| Regbit for result left adjusting. | |
| int_vect_t | int_vector |
| Interrupt vector index. | |
| double | temp_cal_25C |
| Calibration value for the internal temperature sensor - offset in V at +25°C. | |
| double | temp_cal_coef |
| Calibration value for the internal temperature sensor - linear coefficient in V/°C. | |
Detailed Description
Configuration structure for ArchAVR_ADC.
Member Enumeration Documentation
◆ Trigger
Member Data Documentation
◆ channels
| std::vector<ADC::channel_config_t> ArchAVR_ADCConfig::channels |
List of the channels.
◆ clk_ps_factors
| std::vector<unsigned long> ArchAVR_ADCConfig::clk_ps_factors |
List of the prescaler factors for the ADC clock.
◆ int_vector
| int_vect_t ArchAVR_ADCConfig::int_vector |
Interrupt vector index.
◆ rb_auto_trig
| regbit_t ArchAVR_ADCConfig::rb_auto_trig |
Regbit for the auto-trigger enable bit.
◆ rb_bipolar
| regbit_t ArchAVR_ADCConfig::rb_bipolar |
Regbit for the bipolar mode.
◆ rb_chan_mux
| regbit_t ArchAVR_ADCConfig::rb_chan_mux |
Regbit for the channel mux selection.
◆ rb_enable
| regbit_t ArchAVR_ADCConfig::rb_enable |
Regbit for the enable bit.
◆ rb_int_enable
| regbit_t ArchAVR_ADCConfig::rb_int_enable |
Regbit for the interrupt enable bit.
◆ rb_int_flag
| regbit_t ArchAVR_ADCConfig::rb_int_flag |
Regbit for the interrupt flag bit.
◆ rb_left_adj
| regbit_t ArchAVR_ADCConfig::rb_left_adj |
Regbit for result left adjusting.
◆ rb_prescaler
| regbit_t ArchAVR_ADCConfig::rb_prescaler |
Regbit for the clock prescaler selection.
◆ rb_ref_mux
| regbit_t ArchAVR_ADCConfig::rb_ref_mux |
Regbit for the reference mux selection.
◆ rb_start
| regbit_t ArchAVR_ADCConfig::rb_start |
Regbit for the conversion manual start bit.
◆ rb_trig_mux
| regbit_t ArchAVR_ADCConfig::rb_trig_mux |
Regbit for the auto-trigger mux selection.
◆ references
| std::vector<reference_config_t> ArchAVR_ADCConfig::references |
List of the voltage references.
◆ reg_datah
| reg_addr_t ArchAVR_ADCConfig::reg_datah |
Register address for the result high byte.
◆ reg_datal
| reg_addr_t ArchAVR_ADCConfig::reg_datal |
Register address for the result low byte.
◆ temp_cal_25C
| double ArchAVR_ADCConfig::temp_cal_25C |
Calibration value for the internal temperature sensor - offset in V at +25°C.
◆ temp_cal_coef
| double ArchAVR_ADCConfig::temp_cal_coef |
Calibration value for the internal temperature sensor - linear coefficient in V/°C.
◆ triggers
| std::vector<trigger_config_t> ArchAVR_ADCConfig::triggers |
List of the autotrigger sources.
◆ vref_channel
| unsigned int ArchAVR_ADCConfig::vref_channel |
Channel index for the internal voltage reference.
The documentation for this struct was generated from the following file:
Generated by