Lantronix DSTni-EX I2C Controller Register Definitions, Slave Address Register, Offset, Extended

Models: DSTni-EX

1 95
Download 95 pages 56.41 Kb
Page 31
Image 31
I2C Controller Register Definitions

I2C Controller Register Definitions

Slave Address Register

Table 3-8. Slave Address Register

 

BIT

 

 

7

 

 

 

6

 

 

 

5

 

 

4

 

 

3

 

 

2

 

 

1

 

 

0

 

 

OFFSET

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EXTENDED

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enable

 

 

ADDRESS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

1

 

 

1

 

1

 

0

 

 

SLAX9

 

 

SLAX8

 

 

AddressCallGeneral

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FIELD

 

 

SLA6

 

 

 

SLA5

 

 

 

SLA4

 

 

SLA3

 

 

SLA2

 

 

SLA1

 

 

SLA0

 

 

GCE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESET

 

 

0

 

 

 

0

 

 

 

0

 

 

0

 

0

 

0

 

0

 

0

 

 

RW

 

 

RW

 

 

 

RW

 

 

 

RW

 

 

RW

 

 

RW

 

 

RW

 

 

RW

 

 

RW

 

 

 

 

 

 

 

 

 

 

Table 3-9. Address Register Definitions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bits

Field Name

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7:1

SLA6 – SLA0

 

 

 

 

Slave Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For 7-bit addressing, these bits are the 7-bit address of the I2C controller in slave

 

 

 

 

 

 

 

 

 

mode. When the I2C controller receives this address after a START condition, it

 

 

 

 

 

 

 

 

 

generates an interrupt and enters slave mode. (SLA6 corresponds to the first bit

 

 

 

 

 

 

 

 

 

received from the I2C bus.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For 10-bit addressing, when the address received starts with F0h-F7h, the I2C

 

 

 

 

 

 

 

 

 

controller recognizes the correspondence to SLAX9 and SLAX8 of an extended

 

 

 

 

 

 

 

 

 

address, and sends an ACK. (The device does not generate an interrupt at this

 

 

 

 

 

 

 

 

 

point.) After receiving the next address byte, the I2C controller generates an

 

 

 

 

 

 

 

 

 

interrupt and enters slave mode.

 

 

 

 

 

 

 

 

 

 

 

0

GCE

 

 

 

 

General Call Address Enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 = I2C controller recognizes the general-call address at 00h (7-bit addressing).

 

 

 

 

 

 

 

 

 

0 = I2C controller does not recognize the general-call address at 00h (7-bit

 

 

 

 

 

 

 

 

 

addressing).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

23

Page 31
Image 31
Lantronix DSTni-EX I2C Controller Register Definitions, 8. Slave Address Register, 9. Address Register Definitions