![Texas Instruments AM1808 Technical Reference Manual Download Page 1466](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581466.webp)
Registers
1466
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Serial Peripheral Interface (SPI)
29.3.19 SPI Interrupt Vector Register 1 (INTVEC1)
The SPI interrupt vector register 1 (INTVEC1) is shown in
and described in
Figure 29-40. SPI Interrupt Vector Register 1 (INTVEC1)
31
16
Reserved
R-0
15
6
5
1
0
Reserved
INTVECT1
Rsvd
R-0
R-0
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 29-27. SPI Interrupt Vector Register 1 (INTVEC1) Field Descriptions
Bit
Field
Value
Description
31-6
Reserved
0
Reads return zero and writes have no effect.
5-1
INTVECT1
0-1Fh
Interrupt vector for interrupt line INT1. INTVECT1 returns the vector of the pending interrupt at
interrupt line INT1. If more than one interrupt is pending, INTVECT1 always references the highest
priority interrupt source first. The interrupts available for SPI in the descending order of their
priorities are as given below.
• Transmission error Interrupt
• Receive buffer overrun interrupt
• Receive buffer full interrupt
• Transmit buffer empty interrupt
The INTVECT1 field just reflects the status of SPIFLG in a vectorized format. So, any updates to
SPIFLG will automatically reflect in the vector value in this register.
Vectors for each of these interrupts will be reflected on the INTVECT1 bits, when they occur.
Reading the vectors for the receive buffer overrun and receive buffer full interrupts will
automatically clear the respective flags in the SPIFLG. Reading the vector register when
transmitter empty is indicated does not clear the TXINTFLG in SPIFLG. Writing a new data to
SPIDAT0/SPIDAT1 clears the transmitter empty interrupt. On reading the INTVECT1 bits, the
vector of the next highest priority interrupt (if any) will be then reflected on the INTVECT1 bits. If
two or more interrupts occur simultaneously, the vector for the highest priority interrupt will be
reflected on the INTVECT1 bits.
The following are the SPI interrupt vectors for line INT1:
0
No interrupt pending
1h-10h
Reserved
11h
Error interrupt pending. Refer to lower halfword of SPIINT0 to determine more details about the
type of error.
12h
The pending interrupt is receive buffer full interrupt.
13h
The pending interrupt is receive buffer overrun interrupt.
14h
The pending interrupt is transmit buffer empty interrupt.
15h-1Fh
Reserved
0
Reserved
0
Reads return zero and writes have no effect.