tps546
Async, no_std driver for the Texas Instruments
TPS546D24A stackable PMBus buck
converter, built on top of
pmbus-adapter and
embedded-hal-async.
Features
- Typed registers — configuration and status registers are parsed into Rust structs and enums, not raw bytes.
- Automatic voltage scaling —
ULinear16/Linear11encoding and decoding is handled transparently; read and write voltages, currents, and temperatures asf32. - Bulk telemetry —
read_all()returns Vout, Iout, temperature, and Vin in a single I2C transaction. - Manufacturer-specific commands — telemetry config, stack/sync config, NVM checksum, fault simulation, and more.
no_stdcompatible — zero heap allocations, suitable for bare-metal and RTOS targets.
Usage
Add the crate to your Cargo.toml:
[]
= "0.1"
use ;
use PmbusAdaptor;
use SmbusAdaptor;
async
Minimum Supported Rust Version
This crate requires Rust 1.85.1 or later (edition 2024).
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.