UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
325 of 464
NXP Semiconductors
UM10850
Chapter 23: LPC5410x I2C-bus interfaces (I2C0/1/2)
23.6.11 Slave Control register
The SLVCTL register contains bits that control various functions of the I
2
C Slave interface.
Only write to this register when the slave is pending (SLVPENDING = 1 in the STAT
register,
).
Remark:
When in the slave address state (slave state 0, see
), set the SLVDMA
bit either with or after the SLVCONTINUE bit. SLVDMA can be cleared at any time.
23.6.12 Slave Data register
The SLVDAT register provides the means to read the most recently received data for the
Slave function and to transmit data using the Slave function.
Table 363. Address map SLVCTL register
Peripheral
Base address
Offset
Increment
Dimension
I2C0
0x4009 4000
0x010
-
1
I2C1
0x4009 8000
0x010
-
1
I2C2
0x4009 C000
0x010
-
1
Table 364. Slave Control register (SLVCTL, address offset 0x040) bit description
Bit
Symbol
Value Description
Reset
Value
0
SLVCONTINUE
Slave Continue.
0
0
No effect.
1
Continue. Informs the Slave function to continue to the next operation, by clearing
the SLVPENDING flag in the STAT register. This must be done after writing
transmit data, reading received data, or any other housekeeping related to the
next bus operation. SLVCONTINUE should not be set unless SLVPENDING = 1.
1
SLVNACK
Slave NACK.
0
0
No effect.
1
NACK. Causes the Slave function to NACK the master when the slave is receiving
data from the master (Slave Receiver mode).
3
SLVDMA
Slave DMA enable.
0
0
Disabled. No DMA requests are issued for Slave mode operation.
1
Enabled. DMA requests are issued for I
2
C slave data transmission and reception.
31:4
-
Reserved. Read value is undefined, only zero should be written.
NA
Table 365. Address map SLVDAT register
Peripheral
Base address
Offset
Increment
Dimension
I2C0
0x4009 4000
0x044
-
1
I2C1
0x4009 8000
0x044
-
1
I2C2
0x4009 C000
0x044
-
1