Ds 2 7 8 8, Stand-alone fuel-gauge ic with led display drivers, Eeprom register – Rainbow Electronics DS2788 User Manual
Page 20
D
S
2
7
8
8
The EEPROM register provides access control of the
EEPROM blocks. EEPROM blocks can be locked to pre-
vent alteration of data within the block. Locking a block
disables write access to the block. Once a block is
locked, it cannot be unlocked. Read access to EEPROM
blocks is unaffected by the lock/unlock status.
Stand-Alone Fuel-Gauge IC with
LED Display Drivers
20
______________________________________________________________________________________
EEPROM Register
ADDRESS
1Fh
BIT DEFINITION
Field
Bit
Format
Allowable Values
EEC
7
Read Only
EEPROM Copy Flag
Set to 1 when: Copy Data command executed.
Cleared to 0 when: Copy Data command completes.
Note: While EEC = 1, writes to EEPROM addresses are ignored.
Power-up default: 0
LOCK
6
Read/Write
to 1
EEPROM Lock Enable
Host write to 1: Enables the Lock command. Host must issue Lock command as
next command after writing lock enable bit to 1.
Cleared to 0 when: Lock command completes or when Lock command is not the
command issued immediately following the Write command used to set the loc k
enable bit.
Power-up default: 0
Reserved
2:6
Undefined
BL1
1
Read Only
EEPROM Block 1 Lock Flag (Parameter EEPROM 60h–7Fh)
0: EEPROM is not locked.
1: EEPROM block is locked.
Factory default: 0
BL0
0
Read Only
EEPROM Block 0 Lock Flag (User EEPROM 20h–2Fh)
0: EEPROM is not locked.
1: EEPROM block is locked.
Factory default: 0
Figure 17. EEPROM Register Format