This class provides APIs to all of the registers of the TI BQ24295 battery charger chip, as used on the u-blox C030 board. This class is not required to charge a battery connected to the C030 board, charging will begin automatically when a battery is connected. This class is only required if the user wishes to monitor the charger's state or change the charger's settings. The caller should instantiate an I2C interface and pass this to init(), which will initialise the chip and place it into its lowest power state. The chip may then be configured using the API calls. Once the chip is configured, battery charging can be enabled. If battery charging is disabled the chip will once more be put into its lowest power state.
Dependents: example-battery-charger-bq24295 example-C030-out-of-box-demo example-C030-out-of-box-demo Amit
Auto generated API documentation and code listings for battery-charger-bq24295
BatteryChargerBq24295 | BQ27441 battery charger driver |
Code
battery_charger_bq24295.h [code] | This file defines the API to the TI BQ24295 battery charger chip |
bq24295.cpp [code] | This file defines the API to the TI BQ24295 battery charging chip |
main.cpp [code] |