UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
342 of 515
NXP Semiconductors
UM11029
Chapter 19: LPC84x I2C0/1/2/3
19
MONIDLE
Monitor Idle flag. This flag is set when the Monitor function sees the
I
2
C bus change from active to inactive. This can be used by software
to decide when to process data accumulated by the Monitor function.
This flag will cause an interrupt when set if enabled via the
INTENSET register . The flag can be cleared by writing a 1 to this bit.
0
W1
0
Not idle. The I
2
C bus is not idle, or this flag has been cleared by
software.
1
Idle. The I
2
C bus has gone idle at least once since the last time this
flag was cleared by software.
23:20 -
Reserved. Read value is undefined, only zero should be written.
NA
NA
24
EVENTTIMEOUT
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
I2C-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
SCLTIMEOUT
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 352. I
2
C Status register (STAT, address 0x4005 0004 (I2C0), 0x4005 4004 (I2C1), 0x4003 0004 (I2C2), 0x4003
4004 (I2C3)) bit description
…continued
Bit
Symbol
Value Description
Reset
value
Access
Table 353. Master function state codes (MSTSTATE)
MSTSTATE
Description
Actions
DMA
access
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