![NXP Semiconductors LPC84x User Manual Download Page 337](http://html.mh-extra.com/html/nxp-semiconductors/lpc84x/lpc84x_user-manual_1721742337.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
337 of 515
NXP Semiconductors
UM11029
Chapter 19: LPC84x I2C0/1/2/3
19.6 Register description
19.6.1 I2C Configuration register
The CFG register contains mode settings that apply to Master, Slave, and Monitor
functions.
Table 350. Register overview: I2C (base address 0x4005 0000 (I2C0), 0x4005 4000 (I2C1), 0x4003 0000 (I2C2), 0x4003
4000 (I2C3))
Name
Access
Offset
Description
Reset
value
Reference
CFG
R/W
0x00
Configuration for shared functions.
0
STAT
R/W
0x04
Status register for Master, Slave, and Monitor functions.
0x00080
1
INTENSET
R/W
0x08
Interrupt Enable Set and read register.
0
INTENCLR
W
0x0C
Interrupt Enable Clear register.
NA
TIMEOUT
R/W
0x10
Time-out value register.
0xFFFF
CLKDIV
R/W
0x14
Clock pre-divider for the entire I
2
C block. This determines what
time increments are used for the MSTTIME and SLVTIME
registers.
0
INTSTAT
R
0x18
Interrupt Status register for Master, Slave, and Monitor
functions.
0
MSTCTL
R/W
0x20
Master control register.
0
MSTTIME
R/W
0x24
Master timing configuration.
0x77
MSTDAT
R/W
0x28
Combined Master receiver and transmitter data register.
NA
SLVCTL
R/W
0x40
Slave control register.
0
SLVDAT
R/W
0x44
Combined Slave receiver and transmitter data register.
NA
SLVADR0
R/W
0x48
Slave address 0.
0x01
SLVADR1
R/W
0x4C
Slave address 1.
0x01
SLVADR2
R/W
0x50
Slave address 2.
0x01
SLVADR3
R/W
0x54
Slave address 3.
0x01
SLVQUAL0
R/W
0x58
Slave Qualification for address 0.
0
MONRXDAT RO
0x80
Monitor receiver data register.
0
Table 351. I2C Configuration register (CFG, address 0x4005 0000 (I2C0), 0x4005 4000 (I2C1),
0x4003 0000 (I2C2), 0x4003 4000 (I2C3)) bit description
Bit
Symbol
Value Description
Reset
Value
0
MSTEN
Master Enable. When disabled, configurations settings for
the Master function are not changed, but the Master
function is internally reset.
0
0
Disabled. The I
2
C Master function is disabled.
1
Enabled. The I
2
C Master function is enabled.
1
SLVEN
Slave Enable. When disabled, configurations settings for
the Slave function are not changed, but the Slave function
is internally reset.
0
0
Disabled. The I
2
C slave function is disabled.
1
Enabled. The I
2
C slave function is enabled.