|
| enum class | Channel : uint8_t {
ADC0 = 0
, ADC1 = 1
, ADC2 = 2
, ADC3 = 3
,
ADC4 = 4
, ADC5 = 5
, ADC6 = 6
, ADC7 = 7
} |
| | External ADC input channels. More...
|
| enum class | InputPin : uint8_t {
ADC0 = 0x10
, ADC1 = 0x11
, ADC2 = 0x12
, ADC3 = 0x13
,
ADC4 = 0x14
, ADC5 = 0x15
, ADC6 = 0xFF
, ADC7 = 0xFF
} |
| | Logical pin associated with each external ADC channel. More...
|
| enum class | InternalInput : uint8_t { TemperatureSensor = 8
, Bandgap = 14
, Ground = 15
} |
| | Internal ADC multiplexer inputs. More...
|
| enum class | Reference : uint8_t { AREF = 0
, AVCC = 1
, Reserved = 2
, Internal1V1 = 3
} |
| | ADC voltage-reference selections. More...
|
| enum class | TriggerSource : uint8_t {
FreeRunning = 0
, AnalogComparator = 1
, ExternalInterrupt0 = 2
, Timer0CompareMatchA = 3
,
Timer0Overflow = 4
, Timer1CompareMatchB = 5
, Timer1Overflow = 6
, Timer1CaptureEvent = 7
} |
| | Automatic conversion trigger sources. More...
|
| enum class | Prescaler : uint16_t {
Divide2 = 2
, Divide4 = 4
, Divide8 = 8
, Divide16 = 16
,
Divide32 = 32
, Divide64 = 64
, Divide128 = 128
} |
| | ADC clock prescaler values. More...
|
| enum | : uint32_t {
resolution_bits = 10
, max_result = 1023
, max_external_channel_count = 8
, external_channel_count = package::selected::adc_channel_count
,
normal_conversion_cycles = 13
, first_conversion_cycles = 25
, internal_reference_nominal_mv = 1100
, recommended_clock_min_hz = 50000
,
recommended_clock_max_hz = 200000
, electrical_clock_max_hz = 1000000
, recommended_source_impedance_max_ohms = 10000
, normal_conversion_time_min_us_at_1mhz = 13
,
normal_conversion_time_max_us_at_50khz = 260
, first_conversion_time_min_us_at_1mhz = 25
, first_conversion_time_max_us_at_50khz = 500
, max_sample_rate_at_max_resolution_sps = 15000
} |
| enum | : uint8_t {
has_internal_temperature_sensor = 1
, has_internal_bandgap_input = 1
, has_ground_input = 1
, input_pin_range_starts_at_gnd = 1
,
input_pin_range_ends_at_vcc = 1
, conversion_range_starts_at_gnd = 1
, conversion_range_ends_at_vref = 1
, temperature_sensor_calibrated_accuracy_c = 10
,
temperature_sensor_requires_calibration = 1
, temperature_sensor_gain_signature_address = 0x03
, temperature_sensor_offset_signature_address = 0x02
} |
| enum | : uint16_t {
automotive_temperature_code_minus_40c = 0x010D
, automotive_temperature_code_25c = 0x0160
, automotive_temperature_code_125c = 0x01E0
, automotive_accuracy_test_vcc_mv = 4000
,
automotive_accuracy_test_vref_mv = 4000
} |
Analog-to-digital converter definitions.