blob: e9651e87cda81f015e70f974f4ac7ab8a464bf54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#define BQ_REG_FCC 0x12
#define BQ_REG_TEMP 0x06
#define BQ_REG_SOC 0x2c
#define BQ_REG_VOLT 0x08
#define BQ_REG_NAC 0x0C /* Nominal available capaciy */
#define BQ_REG_AI 0x14
#define BQ_I2C_BUS 3
#define BQ_I2C_DEFAULT_ADDR 0x55
//unsigned short bq_battery_read_percentage(void);
|