BQ24195 i2c driver
The documentation for this library should cover everything you need to know about the chip and its i2c registers.
Usage
A usage example is given in the examples
folder.
Requirements
- Embedded Hardware Abstraction Layer support crate for your device (i.e. atsamd for SAM family devices)
- A bq24195 chip connected over I2C
Building and Flashing
Arduino MKR Vidor 4000
This should also work on other SAMD21 boards.
RUSTFLAGS='-C link-arg=-Tlink.x'
# Manual step: push reset button twice in quick succession to enter flash mode