Table 75, Nxp semiconductors – NXP Semiconductors P89LPC9321 UM10310 User Manual

Page 81

Advertising
background image

UM10310

All information provided in this document is subject to legal disclaimers.

© NXP B.V. 2010. All rights reserved.

User manual

Rev. 2 — 1 November 2010

81 of 139

NXP Semiconductors

UM10310

P89LPC9321 User manual

50h

Data byte has
been received;
ACK has been
returned

Read data byte

0

0

0

0

Data byte will be received; NOT ACK
bit will be returned

read data byte

0

0

0

1

Data byte will be received; ACK bit
will be returned

58h

Data byte has
been received;
NACK has been
returned

Read data byte or 1

0

0

x

Repeated START will be transmitted;

read data byte or

0

1

0

x

STOP condition will be transmitted;
STO flag will be reset

read data byte

1

1

0

x

STOP condition followed by a START
condition will be transmitted; STO
flag will be reset

Table 74.

Master Receiver mode

…continued

Status code
(I2STAT)

Status of the I

2

C

hardware

Application software response

Next action taken by I

2

C hardware

to/from I2DAT

to I2CON

STA

STO SI

STA

Table 75.

Slave Receiver mode

Status code
(I2STAT)

Status of the I

2

C

hardware

Application software response

Next action taken by I

2

C

hardware

to/from I2DAT

to I2CON

STA

STO

SI

AA

60H

Own SLA+W has
been received;
ACK has been
received

no I2DAT action
or

x

0

0

0

Data byte will be received and NOT
ACK will be returned

no I2DAT action

x

0

0

1

Data byte will be received and ACK
will be returned

68H

Arbitration lost in
SLA+R/Was
master; Own
SLA+W has been
received, ACK
returned

No I2DAT action
or

x

0

0

0

Data byte will be received and NOT
ACK will be returned

no I2DAT action

x

0

0

1

Data byte will be received and ACK
will be returned

70H

General call
address(00H) has
been received,
ACK has been
returned

No I2DAT action
or

x

0

0

0

Data byte will be received and NOT
ACK will be returned

no I2DAT action

x

0

0

1

Data byte will be received and ACK
will be returned

78H

Arbitration lost in
SLA+R/W as
master; General
call address has
been received,
ACK bit has been
returned

no I2DAT action
or

x

0

0

0

Data byte will be received and NOT
ACK will be returned

no I2DAT action

x

0

0

1

Data byte will be received and ACK
will be returned

80H

Previously
addressed with
own SLA address;
Data has been
received; ACK
has been returned

Read data byte or x

0

0

0

Data byte will be received and NOT
ACK will be returned

read data byte

x

0

0

1

Data byte will be received; ACK bit
will be returned

Advertising