DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
192 of 313
NXP Semiconductors
UM10601
Chapter 16: LPC800 I2C-bus interface
Table 172: Master function state codes (MSTSTATE)
MstState Description
Actions
0
Idle.
The Master function is available to be used for a new
transaction.
Send a Start or disable MstPending interrupt if
the Master function is not needed currently.
1
Received data is available (Master Receiver mode).
Address
plus Read was previously sent and Acknowledged by slave.
Read data and either continue, send a Stop, or
send a Repeated Start.
2
Data can be transmitted (Master Transmitter mode).
Address plus Write was previously sent and Acknowledged by
slave.
Send data and continue, or send a Stop or
Repeated Start.
3
Slave Nacked address.
Send a Stop or Repeated Start.
4
Slave Nacked transmitted data.
Send a Stop or Repeated Start.
Table 173: Slave function state codes (SLVSTATE)
SlvState Description
Actions
0
Address plus R/W received.
At least one of the 4
slave addresses has been matched by hardware.
Software can further check the address if needed, for
instance if a subset of addresses qualified by SLVQUAL0
is to be used. Software can Ack or Nack the address by
writing 1 to either SLVCONTINUE or SLVNACK. Also see
regarding 10-bit addressing.
1
Received data is available (Slave Receiver mode).
Read data reply with an Ack or a Nack.
2
Data can be transmitted (Slave Transmitter mode).
Send data.
3
Reserved.
-