Expand description
This is a platform-agnostic Rust driver for the Texas Instruments BQ25773 Battery
Charger IC based on the embedded-hal traits.
For further details of the device architecture and operation, please refer
to the official Datasheet.
§BQ25773 Rust Device Driver
A #[no_std] platform-agnostic driver for the BQ25773 buck-boost battery charge controller, capable of charging a 2- to 5-cell battery, using the embedded-hal traits.
A higher level API will be built on top of the lower level register accessor using the embedded-batteries traits.
§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
Modules§
- field_
sets - Module containing the generated fieldsets of the registers and commands
Structs§
- Bq25773
- Device
- Root block of the Device driver
- Device
Interface - BQ25773 interface, which takes an async I2C bus
Enums§
- Acoc
Limit - Acov
Threshold - AdcAvg
Ctrl - AdcAvg
Init - AdcRate
Select - AdcResolution
- BQ25773
Error - BQ25773 errors
- Batcoc
Threshold - Batdoc
Vth - Charge
Sense Resistor Rsr - ChgTmr
Ctrl - ChgTmr
Speed Ctrl - Chrg
Cycle Stat - Chrg
Safety Timer Stat - Cmpin
Func Select - Comparator
Deglitch Time - Dither
Config - EnOtg
PinSelect - Hidrv1
Gate Drive Strength Adjustment - Hidrv2
Gate Drive Strength Adjustment - IBat
PinSelect - Iadpt
Gain - Ibat
Gain - Icrit
Deglitch Time - Idchg
Deglitch Time - Idchg
Deglitch Time2 - IlAvg
Clamp - Inom
Deglitch Time - Input
Sense Resistor Rac - Input
SrcStat - Lodrv1
Gate Drive Strength Adjustment - Lodrv2
Gate Drive Strength Adjustment - MaxDelay
- Mode
PinProg Status - Over
Current Threshold Q4Vds - Over
Current Threshold Rac - Phase
Adding Transition Deglitch Time - Phase
Dropping Transition Deglitch Time - Pkpwr
Tmax - Pkpwr
Tovld Deg - Prochot
Clear - Prochot
Pulse Width - Prochot
Status Overheat - Psys
Enable - Psys
Gain - PsysOtg
- Single
Dual Trans Threshold - Switching
Freq - Temp
Regulation Stat - Thermal
Deglitch Time - Threshold
- Vsys
MinSoft Slew Rate - Watch
DogReset - Wdtmr
Adj