Type Alias Capabilities

Source
pub type Capabilities = DeviceCapabilities;
Expand description

Device capabilities type

Aliased Type§

pub struct Capabilities {
Show 13 fields pub device_type: DeviceType, pub max_channels: u8, pub max_spi_frequency_hz: u32, pub internal_reference: bool, pub programmable_gain: bool, pub self_test: bool, pub low_power_mode: bool, pub high_precision: bool, pub diagnostic_mode: bool, pub burnout_current: bool, pub continuous_mode: bool, pub single_shot_mode: bool, pub digital_filtering: bool,
}

Fields§

§device_type: DeviceType

The specific device type (AD7124-4, AD7124-8, etc.)

§max_channels: u8

Maximum number of analog input channels supported

§max_spi_frequency_hz: u32

Maximum SPI clock frequency supported in Hz

§internal_reference: bool

Whether device has built-in voltage reference

§programmable_gain: bool

Whether device supports programmable gain amplification

§self_test: bool

Whether device supports built-in self-test functionality

§low_power_mode: bool

Whether device supports low-power operation modes

§high_precision: bool

Whether device provides high-precision (24-bit) measurements

§diagnostic_mode: bool

Whether device supports diagnostic and status monitoring

§burnout_current: bool

Whether device supports burnout current sources for sensor diagnostics

§continuous_mode: bool

Whether device supports continuous conversion mode

§single_shot_mode: bool

Whether device supports single-shot conversion mode

§digital_filtering: bool

Whether device supports digital filtering options