![Texas Instruments bq27441-G1 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/texas-instruments/bq27441-g1/bq27441-g1_technical-reference_1095321021.webp)
Flags(): 0x06 and 0x07
4.4
Flags(): 0x06 and 0x07
This read-word function returns the contents of the fuel gauging status register, depicting the current
operating status.
Table 4-4. Flags Bit Definitions
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
High Byte
OT
UT
RSVD
RSVD
RSVD
RSVD
FC
CHG
Low Byte
OCVTAKEN
RSVD
ITPOR
CFGUPMODE
BAT_DET
SOC1
SOCF
DSG
High Byte
OT = Over-Temperature condition is detected.
[OT]
is set when
Temperature()
≥
Over Temp
(default = 55°C).
[OT]
is
cleared when
Temperature()
<
Over Temp
–
Temp Hys
.
UT = Under-Temperature condition is detected.
[UT]
is set when
Temperature()
≤
Under Temp
(default = 0°C).
[UT]
is
cleared when
Temperature()
>
Under Temp
+
Temp Hys
.
RSVD = Bits 5:2 are reserved.
FC = Full-charge is detected. If the
FC Set%
is a positive threshold,
[FC]
is set when SOC
≥
FC Set %
and is cleared
when SOC
≤
FC Clear %
(default = 98%). By default,
FC Set%
= –1, therefore
[FC]
is set when the fuel gauge
has detected charge termination.
CHG = Fast charging allowed. If SOC changes from 98% to 99% during charging, the
[CHG]
bit is cleared. The
[CHG]
bit will become set again when SOC
≤
95%.
Low Byte
OCVTAKEN = Cleared on entry to relax mode and set to 1 when OCV measurement is performed in relax mode.
RSVD = Reserved.
ITPOR = Indicates a POR or
RESET
subcommand has occurred. If set, this bit generally indicates that the RAM
configuration registers have been reset to default values and the host should reload the configuration
parameters using the CONFIG UPDATE mode. This bit is cleared after the
SOFT_RESET
subcommand is
received.
CFGUPMODE = Fuel gauge is in CONFIG UPDATE mode. True when set. Default is 0. Refer to
for details.
BAT_DET = Battery insertion detected. True when set. When
OpConfig [BIE]
is set,
[BAT_DET]
is set by detecting a logic
high-to-low transition at the BIN pin. When
OpConfig [BIE]
is low,
[BAT_DET]
is set when host issues
BAT_INSERT
subcommand and is cleared when host issues the
BAT_REMOVE
subcommand. Gauge
predictions are not valid unless
[BAT_DET]
is set.
SOC1 = If set,
StateOfCharge()
≤
SOC1 Set Threshold
. The
[SOC1]
bit will remain set until
StateOfCharge()
≥
SOC1
Clear Threshold
.
SOCF = If set,
StateOfCharge()
≤
SOCF Set Threshold
. The
[SOCF]
bit will remain set until
StateOfCharge()
≥
SOCF
Clear Threshold
.
DSG = Discharging detected. True when set.
4.5
NominalAvailableCapacity(): 0x08 and 0x09
This read-only command pair returns the uncompensated (less than C/20 load) battery capacity
remaining. Units are mAh.
4.6
FullAvailableCapacity(): 0x0A and 0x0B
This read-only command pair returns the uncompensated (less than C/20 load) capacity of the battery
when fully charged.
FullAvailableCapacity()
is updated at regular intervals. Units are mAh.
4.7
RemainingCapacity(): 0x0C and 0x0D
This read-only command pair returns the remaining battery capacity compensated for load and
temperature. If
OpConfigB [SMOOTHEN]
= 1, this register is equal to
RemainingCapacityFiltered()
;
otherwise, it is equal to
RemainingCapacityUnfiltered()
. Units are mAh.
21
SLUUAC9A – December 2013 – Revised May 2015
Standard Commands
Copyright © 2013–2015, Texas Instruments Incorporated