Ivan's Blog
项目实践

tps55288-rs

Rust driver skeleton for TI TPS55288 buck-boost converter over I2C, intended for no_std embedded environments. Evidence: Cargo.toml, src/.

  • embedded-hal driver
  • I2C
  • Power management IC

目录

技术栈

运行与交付

CI 工作流
  • ci.yml
  • release.yml
能力标记
  • cargo_toml
  • github_actions
  • package_json
JSON

Basics

Rust driver skeleton for TI TPS55288 buck-boost converter over I2C, intended for no_std embedded environments. Evidence: Cargo.toml, src/.

Taxonomy

  • Tags: embedded-hal driver, I2C, Power management IC

Architecture

  • Library crate with optional async + defmt features for firmware integration. Evidence: Cargo.toml.
  • Driver logic lives under src/ with tests based on embedded-hal mocks. Evidence: src/, Cargo.toml.

Conventions

  • Repository includes hook/format tooling alongside Rust. Evidence: lefthook.yml, dprint.json, rust-toolchain.toml.
  • Profiles tuned for embedded size/perf are captured in Cargo metadata. Evidence: Cargo.toml.

Taste notes

I like that the crate explicitly encodes embedded constraints (no_std, profiles, optional defmt) rather than leaving them implicit.