Skip to content

Repository files navigation

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

About

Driver for TI BQ40Z50 Li-ion battery pack manager

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages