
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
414 of 808
NXP Semiconductors
UM10360
Chapter 19: LPC17xx I2C0/1/2 interface
[1]
Reset value reflects the data stored in used bits only. It does not include reserved bits content.
8.1 I
2
C Control Set register (I2CONSET: I
2
C0, I2C0CONSET -
0x4001 C000; I
2
C1, I2C1CONSET - 0x4005 C000; I
2
C2, I2C2CONSET -
0x400A 0000)
The I2CONSET registers control setting of bits in the I2CON register that controls
operation of the I
2
C interface. Writing a one to a bit of this register causes the
corresponding bit in the I
2
C control register to be set. Writing a zero has no effect.
Reading this register provides the current values of the control and flag bits.
I2ADR3
I
2
C Slave Address Register 3.
Contains
the 7-bit slave address for operation of the
I
2
C interface in slave mode, and is not
used in master mode. The least significant
bit determines whether a slave responds to
the General Call address.
R/W
0x00
0x4001 C028
I2C0ADR3
0x4005 C028
I2C1ADR3
0x400A 0028
I2C2ADR3
I2DATA_
BUFFER
Data buffer register.
The contents of the 8
MSBs of the I2DAT shift register will be
transferred to the I2DATA_BUFFER
automatically after every 9 bits (8 bits of
data plus ACK or NACK) has been
received on the bus.
RO
0x00
0x4001 C02C
I2C0DATA_
BUFFER
0x4005 C02C
I2C1DATA_
BUFFER
0x400A 002C
I2C2DATA_
BUFFER
I2MASK0
I
2
C Slave address mask register 0
. This
mask register is associated with I2ADR0 to
determine an address match. The mask
register has no effect when comparing to
the General Call address (‘0000000’).
R/W
0x00
0x4001 C030
I2C0MASK0
0x4005 C030
I2C1MASK0
0x400A 0030
I2C2MASK0
I2MASK1
I
2
C Slave address mask register 1
. This
mask register is associated with I2ADR0 to
determine an address match. The mask
register has no effect when comparing to
the General Call address (‘0000000’).
R/W
0x00
0x4001 C034
I2C0MASK1
0x4005 C034
I2C1MASK1
0x400A 0034
I2C2MASK1
I2MASK2
I
2
C Slave address mask register 2
. This
mask register is associated with I2ADR0 to
determine an address match. The mask
register has no effect when comparing to
the General Call address (‘0000000’).
R/W
0x00
0x4001 C038
I2C0MASK2
0x4005 C038
I2C1MASK2
0x400A 0038
I2C2MASK2
I2MASK3
I
2
C Slave address mask register 3
. This
mask register is associated with I2ADR0 to
determine an address match. The mask
register has no effect when comparing to
the General Call address (‘0000000’).
R/W
0x00
0x4001 C03C
I2C0MASK3
0x4005 C03C
I2C1MASK3
0x400A 003C
I2C2MASK3
Table 363. I
2
C register map
Name
Description
Access Reset
value
[1]
I
2
C0 Address
and Name
I
2
C1 Address
and Name
I
2
C2 Address
and Name