bq40z50-rx

Crates.iobq40z50-rx
lib.rsbq40z50-rx
version0.5.2
created_at2025-06-04 23:27:58.429178+00
updated_at2025-09-19 18:52:41.949509+00
descriptionPlatform-agnostic Rust driver for the Texas Instruments BQ40Z50 battery fuel (gas) gauge.
homepage
repositoryhttps://github.com/OpenDevicePartnership/bq40z50
max_upload_size
id1700958
size420,774
Matteo Tullo (tullom)

documentation

https://docs.rs/bq40z50

README

no-std check Documentation Crates.io Version LICENSE

BQ40Z50 Rust Device Driver

A #[no_std] platform-agnostic driver for the BQ40Z50 family of lithium-ion battery fuel/gas gauge, capable of managing a 1- to 4-cell battery, using the embedded-hal traits.

A higher level API exposing standard Smart Battery Specification functions is built on top of the lower level register accessor using the embedded-batteries traits.

Four revisions of the chip are currently supported:

Please choose which revision you are using by enabling the appropriate feature.

MSRV

Currently, rust 1.85 and up is supported.

License

Licensed under the terms of the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution submitted for inclusion in the work by you shall be licensed under the terms of the MIT license.

License: MIT

Commit count: 50

cargo fmt