beautypg.com

Figure 10. status register format, Eeprom register, Figure 11. eeprom register format – Rainbow Electronics DS2761 User Manual

Page 13

background image

DS2761

13 of 24

Figure 10. STATUS REGISTER FORMAT

Address 01

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

X

X

PMOD

RNAOP

SWEN

X

X

X

PMOD—Sleep Mode Enable. A value of 1 in this bit enables the DS2761 to enter sleep mode when the
DQ line goes low for greater than 2s and to leave sleep mode when the DQ line goes high. A value of 0
disables DQ-related transitions into and out of sleep mode. This bit is read-only. The desired default value
should be set in bit 5 of address 31h. The factory default is 0.

RNAOP—Read Net Address Opcode. A value of 0 in this bit sets the opcode for the read net address
command to 33h, while a 1 sets the opcode to 39h. This bit is read-only. The desired default value should
be set in bit 4 of address 31h. The factory default is 0.

SWEN—SWAP Command Enable. A value of 1 in this bit location enables the recognition of a SWAP
command. If set to 0, SWAP commands are ignored. The desired default value should be set in bit 3 of
address 31h. This bit is read-only. The factory default is 0.

X—Reserved Bits.

EEPROM REGISTER

The format of the EEPROM register is shown in Figure 11. The function of each bit is described in detail
in the following paragraphs.

Figure 11. EEPROM REGISTER FORMAT

Address 07

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

EEC

LOCK

X

X

X

X

BL1

BL0

EEC—EEPROM Copy Flag. A 1 in this read-only bit indicates that a copy data command is in progress.
While this bit is high, writes to EEPROM addresses are ignored. A 0 in this bit indicates that data may be
written to unlocked EEPROM blocks.

LOCK—EEPROM Lock Enable. When this bit is 0, the lock command is ignored. Writing a 1 to this bit
enables the lock command. After the lock command is executed, the LOCK bit is reset to 0. The factory
default is 0.

BL1—EEPROM Block 1 Lock Flag. A 1 in this read-only bit indicates that EEPROM block 1 (addresses
30 to 3F) is locked (read-only) while a 0 indicates block 1 is unlocked (read/write).

BL0—EEPROM Block 0 Lock Flag. A 1 in this read-only bit indicates that EEPROM block 0 (addresses
20 to 2F) is locked (read-only) while a 0 indicates block 0 is unlocked (read/write).

X—Reserved Bits.