DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
215 of 313
NXP Semiconductors
UM10601
Chapter 17: LPC800 SPI0/1
17.6.5 SPI Interrupt Enable Clear register
The INTENCLR register is used to clear interrupt enable bits in the INTENSET register.
17.6.6 SPI Receiver Data register
The read-only RXDAT register provides the means to read the most recently received
data. The value of SSEL can be read along with the data.
For details on the slave select process, see
.
Table 193. SPI Interrupt Enable clear register (INTENCLR, addresses 0x4005 8010 (SPI0) ,
0x4005 C010 (SPI1)) bit description
Bit
Symbol
Description
Reset
value
0
RXRDYEN Writing 1 clears the corresponding bits in the INTENSET register.
0
1
TXRDYEN Writing 1 clears the corresponding bits in the INTENSET register.
0
2
RXOVEN
Writing 1 clears the corresponding bits in the INTENSET register.
0
3
TXUREN
Writing 1 clears the corresponding bits in the INTENSET register.
0
4
SSAEN
Writing 1 clears the corresponding bits in the INTENSET register.
0
5
SSDEN
Writing 1 clears the corresponding bits in the INTENSET register.
0
31:6
-
Reserved. Read value is undefined, only zero should be written.
NA
Table 194. SPI Receiver Data register (RXDAT, addresses 0x4005 8014 (SPI0) , 0x4005 C014
(SPI1)) bit description
Bit
Symbol
Description
Reset
value
15:0
RXDAT
Receiver Data. This contains the next piece of received data.
The number of bits that are used depends on the FLen setting in
TXCTL / TXDATCTL.
undefined
16
RXSSELN
Slave Select for receive. This field allows the state of the SSEL
pin to be saved along with received data. The value will reflect
the SSEL pin for both master and slave operation. A zero
indicates that a slave select is active. The actual polarity of each
slave select pin is configured by the related SPOL bit in CFG.
undefined
19:17 -
Reserved.
-
20
SOT
Start of Transfer flag. This flag will be 1 if this is the first frame
after SSEL went from deasserted to asserted (i.e., any
previous transfer has ended). This information can be used to
identify the first piece of data in cases where the frame length is
greater than 16 bit.
31:21 -
Reserved, the value read from a reserved bit is not defined.
NA