UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1113 of 1269
NXP Semiconductors
UM10503
Chapter 43: LPC43xx I2C-bus interface
[1]
Reset value reflects the data stored in used bits only. It does not include reserved bits content.
43.7.1 I
2
C Control Set register
The CONSET registers control setting of bits in the CON 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.
I2EN
I
2
C Interface Enable. When I2EN is 1, the I
2
C interface is enabled. I2EN can be
cleared by writing 1 to the I2ENC bit in the CONCLR register. When I2EN is 0, the I
2
C
interface is disabled.
When I2EN is “0”, the SDA and SCL input signals are ignored, the I
2
C block is in the “not
addressed” slave state, and the STO bit is forced to “0”.
I2EN should not be used to temporarily release the I
2
C-bus since, when I2EN is reset, the
I
2
C-bus status is lost. The AA flag should be used instead.
STA
is the START flag. Setting this bit causes the I
2
C interface to enter master mode and
transmit a START condition or transmit a Repeated START condition if it is already in
master mode.
MASK1
R/W
0x034
I2C Slave address mask register 1
. This mask register is
associated with ADR1 to determine an address match. The
mask register has no effect when comparing to the General Call
address (‘0000000’).
0x00
MASK2
R/W
0x038
I2C Slave address mask register 2
. This mask register is
associated with ADR2 to determine an address match. The
mask register has no effect when comparing to the General Call
address (‘0000000’).
0x00
MASK3
R/W
0x03C
I2C Slave address mask register 3
. This mask register is
associated with ADR3 to determine an address match. The
mask register has no effect when comparing to the General Call
address (‘0000000’).
0x00
Table 981. Register overview: I
2
C1 (base address 0x400E 0000)
…continued
Name
Access Address
offset
Description
Reset
value
[1]
Reference
Table 982. I
2
C Control Set register (CONSET - address 0x400A 1000 (I2C0) and 0x400E 0000
(I2C1)) bit description
Bit
Symbol
Description
Reset
value
1:0
-
Reserved. User software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
-
2
AA
Assert acknowledge flag.
3
SI
I
2
C interrupt flag.
0
4
STO
STOP flag.
0
5
STA
START flag.
0
6
I2EN
I
2
C interface enable.
0
31:7 -
Reserved. The value read from a reserved bit is not defined.
-