diff options
Diffstat (limited to 'fw/fe310/eos/dev/drv/bq25895.h')
-rw-r--r-- | fw/fe310/eos/dev/drv/bq25895.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fw/fe310/eos/dev/drv/bq25895.h b/fw/fe310/eos/dev/drv/bq25895.h new file mode 100644 index 0000000..3fa8cfc --- /dev/null +++ b/fw/fe310/eos/dev/drv/bq25895.h @@ -0,0 +1,8 @@ +#include <stdint.h> + +#define BQ25895_ADDR 0x6A + +int bq25895_init(uint8_t wakeup_cause); +int bq25895_reg_read(uint8_t reg, uint8_t *data); +int bq25895_reg_write(uint8_t reg, uint8_t data); +int bq25895_read_fault(uint8_t *fault);
\ No newline at end of file |