Adafruit_bq25798/examples/test_bq25798
ladyada 2a96ad42e3
Some checks failed
Arduino Library CI / test (push) Has been cancelled
Add comprehensive register control functions for REG0F-REG16
Implemented complete control functions for registers REG0F through REG16:
- REG0F-REG11: Charger control with enable/disable functions and enum-based settings
- REG12-REG13: Advanced charger control including AC drivers, OTG, PFM, and protection functions
- REG14: Charger Control 5 with ship FET, battery discharge, and current limit controls
- REG15: MPPT control with VOC percentage, delay, rate, and MPPT enable functions
- REG16: Temperature control with thermal thresholds, pulldown controls, and backup ACFET

All functions include proper bit field access, enum validation, and inverted logic handling
for disable bits. Test coverage added to example sketch with F() macro optimization.
Hardware-tested compilation successful at 70% program storage usage.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 23:04:37 -04:00
..
test_bq25798.ino Add comprehensive register control functions for REG0F-REG16 2025-07-06 23:04:37 -04:00