UM10346_1
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 01 — 2 November 2009
76 of 132
NXP Semiconductors
UM10346
LPC980/982 User manual
Table 66.
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 or
0
0
0
x
Data byte will be transmitted;
ACK bit will be received
no I2DAT action
or
1
0
0
x
Repeated START will be
transmitted;
no I2DAT action
or
0
1
0
x
STOP condition will be
transmitted;
STO flag will be reset
no I2DAT action
1
1
0
x
STOP 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 or
0
0
0
x
Data byte will be transmitted;
ACK bit will be received
no I2DAT action
or
1
0
0
x
Repeated START will be
transmitted;
no I2DAT action
or
0
1
0
x
STOP condition will be
transmitted; STO flag will be
reset
no I2DAT action
1
1
0
x
STOP 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 or
0
0
0
x
Data byte will be transmitted;
ACK bit will be received
no I2DAT action
or
1
0
0
x
Repeated START will be
transmitted;
no I2DAT action
or
0
1
0
x
STOP condition will be
transmitted; STO flag will be
reset
no I2DAT action
1
1
0
x
STOP condition followed by a
START condition will be
transmitted; STO flag will be
reset