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
288 of 464
NXP Semiconductors
UM10850
Chapter 22: LPC5410x Serial Peripheral Interfaces (SPI0/1)
22.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 325. SPI Interrupt Enable read and Set register (INTENSET, offset 0x0C) bit description
Bit
Symbol
Value Description
Reset
value
0
RXRDYEN
RX ready interrupt enable. Determines whether an interrupt occurs when receiver data
is available.
0
0
Disabled. No interrupt will be generated when receiver data is available.
1
Enabled. An interrupt will be generated when receiver data is available in the RXDAT
register.
1
TXRDYEN
TX ready interrupt enable. Determines whether an interrupt occurs when the transmitter
holding register is available.
0
0
Disabled. No interrupt will be generated when the transmitter holding register is
available.
1
Enabled. An interrupt will be generated when data may be written to TXDAT.
2
RXOVEN
RX overrun interrupt enable. 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
Disabled. No interrupt will be generated when a receiver overrun occurs.
1
Enabled. An interrupt will be generated if a receiver overrun occurs.
3
TXUREN
TX underrun interrupt enable. 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
Disabled. No interrupt will be generated when the transmitter underruns.
1
Enabled. An interrupt will be generated if the transmitter underruns.
4
SSAEN
Slave select assert interrupt enable. Determines whether an interrupt occurs when the
Slave Select is asserted.
0
0
Disabled. No interrupt will be generated when any Slave Select transitions from
deasserted to asserted.
1
Enabled. An interrupt will be generated when any Slave Select transitions from
deasserted to asserted.
5
SSDEN
Slave select deassert interrupt enable. Determines whether an interrupt occurs when
the Slave Select is deasserted.
0
0
Disabled. No interrupt will be generated when all asserted Slave Selects transition to
deasserted.
1
Enabled. An interrupt will be generated when all asserted Slave Selects transition to
deasserted.
7:6
-
Reserved. Read value is undefined, only zero should be written.
NA