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
214 of 313
NXP Semiconductors
UM10601
Chapter 17: LPC800 SPI0/1
[1]
RO = Read-only, W1 = write 1 to clear.
17.6.4 SPI Interrupt Enable read and Set register
The INTENSET register is used to enable various SPI interrupt sources. Enable bits in
INTENSET are mapped in locations that correspond to the flags in the STAT register. The
complete set of interrupt enables may be read from this register. Writing ones to
implemented bits in this register causes those bits to be set. The INTENCLR register is
used to clear bits in this register. See
for details of the interrupts.
Table 192. SPI Interrupt Enable read and Set register (INTENSET, addresses 0x4005 800C (SPI0) , 0x4005 C00C
(SPI1)) bit description
Bit
Symbol
Value Description
Reset
value
0
RXRDYEN
Determines whether an interrupt occurs when receiver data is available.
0
0
No interrupt will be generated when receiver data is available.
1
An interrupt will be generated when receiver data is available in the RXDAT register.
1
TXRDYEN
Determines whether an interrupt occurs when the transmitter holding register is
available.
0
0
No interrupt will be generated when the transmitter holding register is available.
1
An interrupt will be generated when data may be written to TXDAT.
2
RXOVEN
Determines whether an interrupt occurs when a receiver overrun occurs. This happens
in slave mode when there is a need for the receiver to move newly received data to the
RXDAT register when it is already in use.
The interface prevents receiver overrun in Master mode by not allowing a new
transmission to begin when a receiver overrun would otherwise occur.
0
0
No interrupt will be generated when a receiver overrun occurs.
1
An interrupt will be generated if a receiver overrun occurs.
3
TXUREN
Determines whether an interrupt occurs when a transmitter underrun occurs. This
happens in slave mode when there is a need to transmit data when none is available.
0
0
No interrupt will be generated when the transmitter underruns.
1
An interrupt will be generated if the transmitter underruns.
4
SSAEN
Determines whether an interrupt occurs when the Slave Select is asserted.
0
0
No interrupt will be generated when any Slave Select transitions from deasserted to
asserted.
1
An interrupt will be generated when any Slave Select transitions from deasserted to
asserted.
5
SSDEN
Determines whether an interrupt occurs when the Slave Select is deasserted.
0
0
No interrupt will be generated when all asserted Slave Selects transition to deasserted.
1
An interrupt will be generated when all asserted Slave Selects transition to deasserted.
31:6
-
Reserved. Read value is undefined, only zero should be written.
NA