Single-Chip Microcontroller User Manual
UM10310_1 © NXP B.V. 2008. All rights reserved.
User manual Rev. 01 — 1 December 2008 79 of 139
NXP Semiconductors
UM10310
P89LPC9321 User manual
Table 73. Master Transmitter 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
08H A START
condition has
been transmitted
Load SLA+W x 0 0 x SLA+W will be transmitted;
ACK bit will be received
10H A repeat START
condition has
been transmitted
Load SLA+W or
Load SLA+R
x 0 0 x As above; SLA+W will be
transmitted; I
2
C-bus switches
to Master Receiver Mode
18h SLA+W has been
transmitted; ACK
has been received
Load data byte or000xData byte will be transmitted;
ACK bit will be received
no I2DAT action
or
100xRepeated START will be
transmitted;
no I2DAT action
or
010xSTOP condition will be
transmitted;
STO flag will be reset
no I2DAT action 110xSTOP condition followed by a
START condition will be
transmitted; STO flag will be
reset.
20h SLA+W has been
transmitted;
NOT-ACK has
been received
Load data byte or000xData byte will be transmitted;
ACK bit will be received
no I2DAT action
or
100xRepeated START will be
transmitted;
no I2DAT action
or
010xSTOP condition will be
transmitted; STO flag will be
reset
no I2DAT action 110xSTOP condition followed by a
START condition will be
transmitted; STO flag will be
reset
28h Data byte in
I2DAT has been
transmitted; ACK
has been received
Load data byte or000xData byte will be transmitted;
ACK bit will be received
no I2DAT action
or
100xRepeated START will be
transmitted;
no I2DAT action
or
010xSTOP condition will be
transmitted; STO flag will be
reset
no I2DAT action 110xSTOP condition followed by a
START condition will be
transmitted; STO flag will be
reset