Skip to main content

Crate ad7190

Crate ad7190 

Source
Expand description

Async embedded-hal driver for the Analog Devices AD7190 ADC.

This crate provides a no_std, async driver for the AD7190 24-bit sigma-delta ADC using [embedded-hal-async] traits.

Structs§

Ad7190
AD7190 async driver.
Channels
Channel enable mask (CON15..CON8). Use as Channels::CH0 | Channels::CH2, etc.
Config
Configuration register builder (24-bit).
ConfigFlags
CONFIG register flag-type bits (24-bit).
ContinuousCfg
Continuous conversion behavior configuration.
Gpocon
Parsed representation of the GPOCON register (8-bit).
Mode
Mode register builder (24-bit).
ModeFlags
MODE register flag-type bits (24-bit).
Sample
Result of reading the data register.
StatusFlags
STATUS register bits (8-bit).

Enums§

ClockSel
Error
Driver errors.
FilterSel
Gain
GpioPin
AD7190 GPIO pin identifiers (general-purpose outputs).
OperatingMode
Reg
AD7190 register addresses (RS2..RS0) used in the Communications Register.