Crate ina229

Source
Expand description

This is a platform agnostic Rust driver for the INA229, an SPI output current/voltage/power monitor with alerts, using the embedded-hal traits.

This driver allows you to:

§The device

The INA229-Q1 is an ultra-precise digital power monitor with a 20-bit delta-sigma ADC specifically designed for current-sensing applications. The device can measure a full-scale differential input of ±163.84 mV or ±40.96 mV across a resistive shunt sense element with common-mode voltage support from –0.3 V to +85 V.

Datasheet:

Structs§

Configuration
Configuration register contents.
INA229
INA229 voltage/current/power monitor

Enums§

Error
Error type for INA229 commands.

Constants§

MODE
The SPI mode for the INA229.