UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
351 of 515
NXP Semiconductors
UM11029
Chapter 19: LPC84x I2C0/1/2/3
19.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.
19.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. Slave Control register (SLVCTL, address 0x4005 0040 (I2C0), 0x4005 4040 (I2C1),
0x4003 0040 (I2C2), 0x4003 4040 (I2C3)) 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. This must done after writing transmit
data, reading received data, or any other housekeeping
related to the next bus operation.
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).
2
-
Reserved. Read value is undefined, only zero should be
written.
NA
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 364. Slave Data register (SLVDAT, address 0x4005 0044 (I2C0), 0x4005 4044 (I2C1),
0x4003 0044 (I2C2), 0x4003 4044 (I2C3)) bit description
Bit
Symbol
Description
Reset
Value
7:0
DATA
Slave function data register.
Read: read the most recently received data for the Slave function.
Write: transmit data using the Slave function.
0
31:8
-
Reserved. Read value is undefined, only zero should be written.
NA