UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
316 of 464
NXP Semiconductors
UM10850
Chapter 23: LPC5410x I2C-bus interfaces (I2C0/1/2)
23:20 -
Reserved. Read value is undefined, only zero should be written.
NA
NA
24
EVENT
TIMEOUT
Event Time-out Interrupt flag. Indicates when the time between events has
been longer than the time specified by the TIMEOUT register. Events include
Start, Stop, and clock edges. The flag is cleared by writing a 1 to this bit. No
time-out is created when the
I
2
C
-bus is idle.
0
W1
0
No time-out. I
2
C bus events have not caused a time-out.
1
Event time-out. The time between I
2
C bus events has been longer than the
time specified by the I2C TIMEOUT register.
25
SCL
TIMEOUT
SCL Time-out Interrupt flag. Indicates when SCL has remained low longer
than the time specific by the TIMEOUT register. The flag is cleared by writing
a 1 to this bit.
0
W1
0
No time-out. SCL low time has not caused a time-out.
1
Time-out. SCL low time has caused a time-out.
31:26 -
Reserved. Read value is undefined, only zero should be written.
NA
NA
Table 344. I
2
C Status register (STAT, address offset 0x004) bit description
…continued
Bit
Symbol
Value Description
Reset
value
Access
Table 345. Master function state codes (MSTSTATE)
MST
STATE
Description
Actions
DMA
allowed
0x0
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.
No
0x1
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.
Yes
0x2
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.
Yes
0x3
Slave NACKed address.
Send a Stop or Repeated Start.
No
0x4
Slave NACKed transmitted data.
Send a Stop or Repeated Start.
No
Table 346. Slave function state codes (SLVSTATE)
SLVSTATE
Description
Actions
DMA
allowed
0
SLVST_
ADDR
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.
No
1
SLVST_RX
Received data is available
(Slave Receiver mode).
Read data, reply with an ACK or a NACK.
Yes
2
SLVST_TX
Data can be transmitted
(Slave Transmitter mode).
Send data. Note that when the Master NACKs dat transmitted by
the slave, the slave becomes de-selected.
Yes