Crates.io | bq40z50-rx |
lib.rs | bq40z50-rx |
version | 0.5.2 |
created_at | 2025-06-04 23:27:58.429178+00 |
updated_at | 2025-09-19 18:52:41.949509+00 |
description | Platform-agnostic Rust driver for the Texas Instruments BQ40Z50 battery fuel (gas) gauge. |
homepage | |
repository | https://github.com/OpenDevicePartnership/bq40z50 |
max_upload_size | |
id | 1700958 |
size | 420,774 |
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.
Currently, rust 1.85
and up is supported.
Licensed under the terms of the MIT license.
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