English
Language : 

MAX1660 Datasheet, PDF (16/20 Pages) Maxim Integrated Products – Digitally Controlled Fuel-Gauge Interface
Digitally Controlled
Fuel-Gauge Interface
Table 6. WriteConfig( ) Bit Functions
BIT NAME
—
—
—
—
—
DIRINTENABLE
SOFTSHDN
CLRCOUNTER
CLRINT
SETCOUNT
OFFSETMEAS
COMPENABLE
ODHI
ODLO
OCHI
OCLO
BIT
POSITION
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
POWER-ON
RESET STATE
DESCRIPTION
—
Unused
—
Unused
—
Unused
—
Unused
—
Unused
Direction-Change Interrupt Enable. Set this bit to enable direction-change
0
interrupt generation. Clear this bit to disable this function. See the Direction-
Change Detection Function section.
0
Soft-Shutdown Enable. Set this bit to enable soft shutdown. Clear this bit to
resume normal operation. See the Shutdown Modes section.
—
Clear Counter. Write 1 to clear both CHGCOUNT and DISCOUNT.
—
Clear Interrupts. Write 1 to clear ODSTATUS, OCSTATUS, COMPSTATUS, and
DIRCHANGE.
Counter Selection. Selects which counter is multiplexed to COUNT. Set this bit
0
to select the charge counter. Clear this bit to select the discharge counter. See
the Charge and Discharge Counters section.
Offset-Measurement Enable. Set this bit to disconnect CS from the external
0
circuitry and internally short it to AGND. Clear this bit to reconnect CS to the
external circuitry and resume normal operation. See the Internal Offset
Measurement section.
0
the Compare-Interrupt Enable. Set this bit to enable the digital compare function.
Clear this bit to disable this function. See the Digital Compare Function section.
0
First of two bits controlling the ODO output state. See the Overcurrent Detection
section.
Second of two bits controlling the ODO output state. To ensure proper overcur-
0
rent protection, ODLO should always remain cleared. See the Overcurrent
Detection section.
0
First of two bits controlling OCO output state. See the Overcurrent Detection section.
Second of two bits controlling OCO output state. To ensure proper overcurrent
0
protection, OCLO should always remain cleared. See the Overcurrent
Detection section.
a) CHARGING CURRENTS
R5
R6
REF
OCI
C5
MAX1660
CS
AGND
b) DISCHARGING CURRENTS
TO BATT-
R4
RCS
C4
REF
R3
ODI
MAX1660
AGND
GND
Figure 10. Overcurrent-Detection Networks
*Patent pending
16 ______________________________________________________________________________________