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
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
391 of 571
NXP Semiconductors
UM10316
Chapter 23: LPC2xx I2C-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 (I2C[0/1]CONSET: 0xE008 2000, 0xE008 3000)
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.
I2CONCLR
I2C Control Clear Register.
When a one is written to
a bit of this register, the corresponding bit in the I
2
C
control register is cleared. Writing a zero has no effect
on the corresponding bit in the I
2
C control register.
WO
NA
I2C0CONCLR - 0xE008 2018
I2C1CONCLR - 0xE008 3018
MMCTRL
Monitor mode control register.
R/W
0x00
I2C0MMCTRL
-
0xE008 201C
I2C1MMCTRL - 0xE008 301C
I2ADR1
I
2
C Slave Address Register 1.
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
I2C0ADR1 - 0xE0008 2020
I2C1ADR1 - 0xE0008 3020
I2ADR2
I
2
C Slave Address Register 2.
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
I2C0ADR2 - 0xE0008 2024
I2C1ADR2 - 0xE0008 3024
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
I2C0ADR3 - 0xE0008 2028
I2C1ADR3 - 0xE0008 3028
I2DATA_
BUFFER
Data buffer register.
The contents of the 8 msb’s of
the I2DAT shift register will be transferred to the
DATA_BUFFER automatically after every nine bits (8
bits of data plus ACK or NACK) has been received on
the bus.
RO
0x00
I2C0DATA_BUFFER -
0xE0008 202C
I2C1DATA_BUFFER
- 0xE0008 302C
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
I2C0MASK0 - 0xE0008 2030
I2C1MASK1 - 0xE0008 3030
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
I2C0MASK0 - 0xE0008 2034
I2C1MASK1 - 0xE0008 3034
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
I2C0MASK0 - 0xE0008 2038
I2C1MASK1 - 0xE0008 3038
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
I2C0MASK0 - 0xE0008 203C
I2C1MASK1 - 0xE0008 303C
Table 322. I
2
C register map (base address 0xE008 2000 (I2C0) and 0xE008 3000 (I2C1))
Generic
Name
Description
Access
Reset
value
[1]
I
2
Cn Register
Name & Address