English
Language : 

BQ2040 Datasheet, PDF (21/33 Pages) Texas Instruments – Gas Gauge IC With SMBus Interface
bq2040
Table 8. Error Codes (BatteryStatus() (0x16))
OK
Busy
Error
Code Access
Description
0x0000 read/write bq2040 processed the function code without detecting any errors.
0x0001 read/write bq2040 is unable to process the function code at this time.
ReservedCommand
UnsupportedCommand
0x0002
read/write
bq2040 cannot read or write the data at this time—try again
later.
0x0003 read/write bq2040 does not support the requested function code.
AccessDenied
Overflow/Underflow
0x0004
write
bq2040 detected an attempt to write to a read-only function
code.
0x0005 read/write bq2040 detected a data overflow or underflow.
BadSize
UnknownError
0x0006
write
bq2040 detected an attempt to write to a function code with an
incorrect size data block.
0x0007 read/write bq2040 detected an unidentifiable error.
Note:
Reading the bq2040 after an error clears the error code.
21