TI BQ27220 I2C based, battery State of Charge and Coulomb Counter

Fork of bq27210 by Kevin Braun

Embed: (wiki syntax)

« Back to documentation index

BQ27220::BQ27220_TypeDef Struct Reference

BQ27220::BQ27220_TypeDef Struct Reference

Data structure for BQ27220 data values. More...

#include <bq27220.h>

Data Fields

uint16_t cntlReg
int16_t arReg
uint16_t artteReg
uint16_t tempReg
uint16_t voltReg
uint16_t flagsReg
int16_t currentReg
uint16_t rmReg
uint16_t fccReg
uint16_t aiReg
uint16_t tteReg
uint16_t ttfReg
int16_t siReg
uint16_t stteReg
int16_t mliReg
uint16_t mltteReg
uint16_t rawccReg
int16_t apReg
uint16_t intTempReg
uint16_t cycReg
uint16_t socReg
uint16_t sohReg
uint16_t cvReg
uint16_t ccReg
uint16_t btpdReg
uint16_t btpcReg
uint16_t osReg
uint16_t dcReg
uint16_t subReg
char macData [32]
uint8_t macSumReg
uint8_t macLenReg
uint8_t anacReg
uint16_t rawcReg
uint16_t rawvReg
uint16_t rawtReg
uint8_t checksum
int16_t shunt_res
char i2c_Bufx [48]

Detailed Description

Data structure for BQ27220 data values.

Definition at line 309 of file bq27220.h.


Field Documentation

uint16_t aiReg

AI register

Definition at line 320 of file bq27220.h.

uint8_t anacReg

Analog Count register

Definition at line 348 of file bq27220.h.

int16_t apReg

AP register

Definition at line 330 of file bq27220.h.

int16_t arReg

AR register

Definition at line 311 of file bq27220.h.

uint16_t artteReg

ARTTE register

Definition at line 312 of file bq27220.h.

uint16_t btpcReg

BTPC register

Definition at line 340 of file bq27220.h.

uint16_t btpdReg

BTPD register

Definition at line 338 of file bq27220.h.

uint16_t ccReg

CC register

Definition at line 337 of file bq27220.h.

uint8_t checksum

calculated checksum result

Definition at line 353 of file bq27220.h.

uint16_t cntlReg

CNTL register

Definition at line 310 of file bq27220.h.

int16_t currentReg

CURRENT register

Definition at line 317 of file bq27220.h.

uint16_t cvReg

CV register

Definition at line 336 of file bq27220.h.

uint16_t cycReg

CYC register

Definition at line 332 of file bq27220.h.

uint16_t dcReg

DC register

Definition at line 342 of file bq27220.h.

uint16_t fccReg

FCC register

Definition at line 319 of file bq27220.h.

uint16_t flagsReg

FLAGS register

Definition at line 316 of file bq27220.h.

char i2c_Bufx[48]

i2c buffer

Definition at line 356 of file bq27220.h.

uint16_t intTempReg

INTTEMP register

Definition at line 331 of file bq27220.h.

char macData[32]

MAC Data array

Definition at line 344 of file bq27220.h.

uint8_t macLenReg

MAC Data Len register

Definition at line 347 of file bq27220.h.

uint8_t macSumReg

MAC Data Sum register

Definition at line 345 of file bq27220.h.

int16_t mliReg

MLI register

Definition at line 326 of file bq27220.h.

uint16_t mltteReg

MLTTE register

Definition at line 328 of file bq27220.h.

uint16_t osReg

OS register

Definition at line 341 of file bq27220.h.

uint16_t rawccReg

RCC register

Definition at line 329 of file bq27220.h.

uint16_t rawcReg

RAWC register

Definition at line 349 of file bq27220.h.

uint16_t rawtReg

RAWT register

Definition at line 351 of file bq27220.h.

uint16_t rawvReg

RAWV register

Definition at line 350 of file bq27220.h.

uint16_t rmReg

RM register

Definition at line 318 of file bq27220.h.

int16_t shunt_res

Shunt Resistor value / 1000

Definition at line 355 of file bq27220.h.

int16_t siReg

SI register

Definition at line 324 of file bq27220.h.

uint16_t socReg

SOC register

Definition at line 334 of file bq27220.h.

uint16_t sohReg

SOH register

Definition at line 335 of file bq27220.h.

uint16_t stteReg

STTE register

Definition at line 325 of file bq27220.h.

uint16_t subReg

SUB command register

Definition at line 343 of file bq27220.h.

uint16_t tempReg

TEMP register

Definition at line 313 of file bq27220.h.

uint16_t tteReg

TTE register

Definition at line 322 of file bq27220.h.

uint16_t ttfReg

TTF register

Definition at line 323 of file bq27220.h.

uint16_t voltReg

VOLT register

Definition at line 314 of file bq27220.h.