![NXP Semiconductors LPC84x Скачать руководство пользователя страница 347](http://html.mh-extra.com/html/nxp-semiconductors/lpc84x/lpc84x_user-manual_1721742347.webp)
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
347 of 515
NXP Semiconductors
UM11029
Chapter 19: LPC84x I2C0/1/2/3
19.6.7 Interrupt Status register
The INTSTAT register provides register provides a view of those interrupt flags that are
currently enabled. This can simplify software handling of interrupts. See
detailed descriptions of the interrupt flags.
19.6.8 Master Control register
The MSTCTL register contains bits that control various functions of the I
2
C Master
interface. Only write to this register when the master is pending (MSTPENDING = 1 in the
STAT register,
Software should always write a complete value to MSTCTL, and not OR new control bits
into the register as is possible in other registers such as CFG. This is due to the fact that
MSTSTART and MSTSTOP are not self-clearing flags. ORing in new data following a
Start or Stop may cause undesirable side effects.
Table 359. I
2
C Interrupt Status register (INTSTAT, address 0x4005 0018 (I2C0), 0x4005 4018
(I2C1), 0x4003 0018 (I2C2), 0x4003 4018 (I2C3)) bit description
Bit
Symbol
Description
Reset
value
0
MSTPENDING
Master Pending.
1
3:1
-
Reserved.
4
MSTARBLOSS
Master Arbitration Loss flag.
0
5
-
Reserved. Read value is undefined, only zero should be
written.
NA
6
MSTSTSTPERR
Master Start/Stop Error flag.
0
7
-
Reserved. Read value is undefined, only zero should be
written.
NA
8
SLVPENDING
Slave Pending.
0
10:9
-
Reserved. Read value is undefined, only zero should be
written.
NA
11
SLVNOTSTR
Slave Not Stretching status.
1
14:12 -
Reserved. Read value is undefined, only zero should be
written.
NA
15
SLVDESEL
Slave Deselected flag.
0
16
MONRDY
Monitor Ready.
0
17
MONOV
Monitor Overflow flag.
0
18
-
Reserved. Read value is undefined, only zero should be
written.
NA
19
MONIDLE
Monitor Idle flag.
0
23:20 -
Reserved. Read value is undefined, only zero should be
written.
NA
24
EVENTTIMEOUT
Event time-out Interrupt flag.
0
25
SCLTIMEOUT
SCL time-out Interrupt flag.
0
31:26 -
Reserved. Read value is undefined, only zero should be
written.
NA