|
HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
|
A single ADC channel entry in the fixed-size registry. More...
#include <AdcManager.h>
Public Attributes | |
| HfFunctionalAdcChannel | functional_channel {HfFunctionalAdcChannel::HF_FUNCTIONAL_ADC_COUNT} |
| Functional enum for this channel. | |
| std::string_view | name |
| Human-readable name from pincfg. | |
| BaseAdc * | driver {nullptr} |
| ADC driver (MCU ADC in the binding, or an ADS7952 handler) | |
| uint8_t | adc_unit {0} |
| ADC unit (0 = ADC1, 1 = ADC2) | |
| uint8_t | hw_channel {0} |
| Hardware channel within the unit. | |
| float | voltage_divider {1.0f} |
| Divider ratio for scaled readings. | |
| bool | registered {false} |
| Whether this entry is active. | |
| uint32_t | access_count {0} |
| Total successful read operations on this channel. | |
| uint32_t | error_count {0} |
| Total failed read operations on this channel. | |
A single ADC channel entry in the fixed-size registry.
| uint32_t AdcEntry::access_count {0} |
Total successful read operations on this channel.
| uint8_t AdcEntry::adc_unit {0} |
ADC unit (0 = ADC1, 1 = ADC2)
| BaseAdc* AdcEntry::driver {nullptr} |
ADC driver (MCU ADC in the binding, or an ADS7952 handler)
| uint32_t AdcEntry::error_count {0} |
Total failed read operations on this channel.
| HfFunctionalAdcChannel AdcEntry::functional_channel {HfFunctionalAdcChannel::HF_FUNCTIONAL_ADC_COUNT} |
Functional enum for this channel.
| uint8_t AdcEntry::hw_channel {0} |
Hardware channel within the unit.
| std::string_view AdcEntry::name |
Human-readable name from pincfg.
| bool AdcEntry::registered {false} |
Whether this entry is active.
| float AdcEntry::voltage_divider {1.0f} |
Divider ratio for scaled readings.