bq25896.h 293 B

123456789101112131415161718
  1. #pragma once
  2. #include <stdbool.h>
  3. /* Initialize Driver */
  4. void bq25896_init();
  5. /* Send device into shipping mode */
  6. void bq25896_poweroff();
  7. /* Is currently charging */
  8. bool bq25896_is_charging();
  9. /* Enable otg */
  10. void bq25896_enable_otg();
  11. /* Disable otg */
  12. void bq25896_disable_otg();