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
依赖与工具
- package.json
- 开发依赖
- @commitlint/cli
- @commitlint/config-conventional
- commitlint-plugin-function-rules
- dprint
配置与质量
- 配置文件
- .bun-version
- .gitignore
- Cargo.toml
- dprint.json
- lefthook.yml
- package.json
- rust-toolchain.toml
其他信息
- Cargo
- 开发依赖
- embedded-hal-mock
- Deps main
- bitflags
- defmt
- embedded-hal
- embedded-hal-async
{
"cargo": {
"deps_dev": [
"embedded-hal-mock"
],
"deps_main": [
"bitflags",
"defmt",
"embedded-hal",
"embedded-hal-async"
]
},
"ci_workflows": [
"ci.yml",
"release.yml"
],
"configs_root": [
".bun-version",
".gitignore",
"Cargo.toml",
"dprint.json",
"lefthook.yml",
"package.json",
"rust-toolchain.toml"
],
"markers_present": [
"cargo_toml",
"github_actions",
"package_json"
],
"package_json": {
"deps_dev": [
"@commitlint/cli",
"@commitlint/config-conventional",
"commitlint-plugin-function-rules",
"dprint"
]
}
}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.
相关内容
embedded-hal driver
主题embedded-hal driver 表示一个 crate 的主 API 明确建立在 embedded-hal trait 生态之上,目标是被其他 firmware 或 board-support 代码组合进系统,而不是自己成为整机应用。这里的核心不是器件名,而是“驱动 crate 的复用边界”。 这个 Topic 关注的是 crate API 形状、trait 依赖、feature flags、测试方式和下游组合方式。
I2C
主题I2C 表示总线本身就是项目的主要维护边界之一,仓库需要持续处理地址、寄存器读写模式、mux/switch/expander、shared bus ownership 或 async/sync 访问策略。这里的重点是 I2C 作为协议/总线契约,而不是“芯片刚好挂在 I2C 上”。
Power management IC
主题Power management IC 表示仓库主要维护电源转换、调压、监测或供电控制类芯片的驱动边界,并把这些电源语义当作独立主题来维护。这里的主语不是 generic embedded 外设,而是会直接改变供电行为的 PMIC / buck-boost / regulation 类器件。