Ivan's Blog
项目实践

ina3221-async-rs

Rust no_std driver crate for TI INA3221 3-channel voltage/current monitor over I2C. Evidence: Cargo.toml, src/.

  • embedded-hal driver
  • I2C

目录

技术栈

运行与交付

能力标记
  • cargo_toml
JSON

Basics

Rust no_std driver crate for TI INA3221 3-channel voltage/current monitor over I2C. Evidence: Cargo.toml, src/.

Taxonomy

  • Tags: embedded-hal driver, I2C

Architecture

  • Library crate designed to be used from device firmware; register-level operations are wrapped in typed APIs. Evidence: src/lib.rs, Cargo.toml.
  • Optional async support integrates with embedded-hal-async. Evidence: Cargo.toml.

Conventions

  • no_std-centric packaging and embedded categories. Evidence: Cargo.toml.
  • Uses standard testing patterns (mock embedded-hal) when included. Evidence: Cargo.toml (dev-dependencies), tests/.

Taste notes

Instrument chips benefit from “mock-first” tests; using embedded-hal mocks keeps the crate verifiable without hardware in CI.