|
FLAG_EN (Bit
15) Enables/disables the control |
|
0 =
Disable |
|
1 = Enable |
RSVD (Bit
14): Reserved. Do not use. |
|
|
Flag_OD (Bit
13): Sets whether the GPIO pin is driven between two levels
as high-Z/driven-low (open-drain) or as driven-high/driven-low
(active-high). Note: The [FLAG_OD] bit cannot
be set differently by separate controls when mapped to the same GPIO
pin. |
|
0 =
Driven-high/driven-low |
|
1 =
High-Z/driven-low |
|
|
|
FLAG_OR (Bit
12): Flag OR’ed vs AND’ed with other flags mapped to the
same GPIO pin. This OR/AND operation takes place after the polarity
from FLAG_POL is evaluated. |
|
0 = AND
Operation |
|
1 = OR
Operation |
|
|
|
FLAG_GPIO2,
FLAG_GPIO1, FLAG_GPIO0 (Bits 11–9): Flag mapped to GPIO
pin |
|
0, 0, 0 = Pin 12
(RC2) |
|
0, 0, 1 = Pin 13
(RC3) |
|
0, 1, 0 = Pin 17
(RH0) |
|
0, 1, 1 = Pin 16
(RH1) |
|
1, 0, 0 = Pin 15
(RH2) |
|
1, 0, 1 = Pin 20
(RL0) |
|
1, 1, 0 = Pin 21
(RL1) |
|
1, 1, 1 = Pin 22
(RL2) |
|
|
|
FLAG_POL (Bit
8): Polarity of the flag when mapped to a GPIO pin |
|
0 = No change to
flag polarity |
|
1 = Invert flag
polarity |
|
|
|
FLAG_BIT3,
FLAG_BIT2, FLAG_BIT1, FLAG_BIT0 (Bits 7–4): Bit position
within the 16-bit register of the flag |
|
0, 0, 0, 0 = Bit
0 |
|
0, 0, 0, 1 = Bit
1 |
|
0, 0, 1, 0 = Bit
2 |
|
0, 0, 1, 1 = Bit
3 |
|
0, 1, 0, 0 = Bit
4 |
|
0, 1, 0, 1 = Bit
5 |
|
0, 1, 1, 0 = Bit
6 |
|
0, 1, 1, 1 = Bit
7 |
|
1, 0, 0, 0 = Bit
8 |
|
1, 0, 0, 1 = Bit
9 |
|
1, 0, 1, 0 = Bit
10 |
|
1, 0, 1, 1 = Bit
11 |
|
1, 1, 0, 0 = Bit
12 |
|
1, 1, 0, 1 = Bit
13 |
|
1, 1, 1, 0 = Bit
14 |
|
1, 1, 1, 1 = Bit
15 |
|
|
|
FLAG_REG3,
FLAG_REG2, FLAG_REG1, FLAG_REG0 (Bits 3–0): Address of the
register that contains the flag |
|
0, 0, 0, 0 =
BatteryMode() |
|
0, 0, 0, 1 =
BatteryStatus() |
|
0, 0, 1, 0 =
OperationStatusA(), lower 16 bits of
OperationStatus() |
|
0, 0, 1, 1 =
OperationStatusB(), higher 16 bits of
OperationStatus() |
|
0, 1, 0, 0 =
ChargingStatus() |
|
0, 1, 0, 1 =
TempStatus() |
|
0, 1, 1, 0 =
GaugingStatus(), lower 8 bits |
|
0, 1, 1, 1 =
ITStatus(), Bits 23–8 of GaugingStatus() |
|
1, 0, 0, 0 =
SafetyStatusAB(), lower 16 bits of
SafetyStatus() |
|
1, 0, 0, 1 =
SafetyStatusCD(), higher 16 bits of
SafetyStatus() |
|
1, 0, 1, 0 = Any
Safety Status bit in SafetyStatus() |
|
1, 0, 1, 1 =
PFStatusAB(), lower 16 bits of PFStatus() |
|
1, 1, 0, 0 =
PFStatusCD(), higher 16 bits of PFStatus() |
|
1, 1, 0, 1 = Any
PF Status bit in PFStatus() |
|
1, 1, 1, 0 =
Unused |
|
1, 1, 1, 1 =
Unused |