| FLAG_EN (Bit 15): Enable/disable the control |
| 1 = | Enable |
| 0 = | Disable |
| |
| RSVD (Bit 14): Reserved. Do not use. |
|
FLAG_OD (Bit 13): Determines whether the GPIO pin is driven between two levels as hi-Z/driven-low (that is, open drain) or as driven-high/driven-low (that is, active high). Note: The [FLAG_OD] bit cannot be set differently by separate controls when mapped to the same GPIO pin. |
| 1 = | Hi-Z/driven-low |
| 0 = | Driven-high/driven-low |
| |
| FLAG_OR (Bit 12): The 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. |
| 1 = | OR Operation |
| 0 = | AND Operation |
| |
| RSVD (Bit 11, 10, 9): Reserved. Do not
use. |
| |
| FLAG_POL (Bit 8): Polarity of the flag when mapped to a GPIO pin |
| 1 = | Invert flag polarity |
| 0 = | No change to flag polarity |
| |
| FLAG_BIT3, FLAG_BIT2, FLAG_BIT1, FLAG_BIT0 (Bit 7, Bit 6, Bit 5, Bit 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 (Bit 3, Bit 2, Bit 1, Bit 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() |
| 0, 1, 1, 1 = | ITStatus() |
| 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 |