![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1284](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271284.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1284 of 1441
NXP Semiconductors
UM10503
Chapter 46: LPC43xx/LPC43Sxx I2C-bus interface
[1]
Reset value reflects the data stored in used bits only. It does not include reserved bits content.
46.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 1084.Register overview: I
2
C1 (base address 0x400E 0000)
…continued
Name
Access Address
offset
Description
Reset
value
[1]
Reference
Table 1085.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.
-