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