SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 159
Version 1.1
13.6.5 SPI n Interrupt Enable register (SPIn_IE) (n=0,1)
Address Offset: 0x10
This register controls whether each of the four possible interrupt conditions in the SPI controller is enabled.
Bit
Name
Description
Attribute
Reset
31:6
Reserved
R
0
5
DMATCIE
DMA transfer complete interrupt enable bit (SPI0 only)
0: Disable
1: Enable
R/W
0
4
DMAHTIE
DMA half transfer interrupt enable bit (SPI0 only)
0: Disable
1: Enable
R/W
0
3
TXFIFOTHIE
TX FIFO threshold interrupt enable
0: Disable
1: Enable
R/W
0
2
RXFIFOTHIE
RX FIFO threshold interrupt enable
0: Disable
1: Enable
R/W
0
1
RXTOIE
RX time-out interrupt enable
0: Disable
1: Enable
R/W
0
0
RXOVFIE
RX Overflow interrupt enable
0: Disable
1: Enable
R/W
0
13.6.6 SPI n Raw Interrupt Status register (SPIn_RIS) (n=0,1)
Address Offset: 0x14
This register contains the status for each interrupt condition, regardless of whether or not the interrupt is enabled in
SPIn_IE register.
This register indicates the status for SPI control raw interrupts. An SPI interrupt is sent to the interrupt controller if the
corresponding bit in the SPIn_IE register is set.
Bit
Name
Description
Attribute
Reset
31:6
Reserved
R
0
5
DMATCIF
DMA transfer complete flag (SPI0 only)
0: No transfer completion
1: A transfer complete event occurs
R
0
4
DMAHTIF
DMA half transfer flag (SPI0 only)
0: No half transfer event
1: A half transfer event occurs
R
0
3
TXFIFOTHIF
TX FIFO threshold interrupt flag
0: No TX FIFO threshold interrupt
1: TX FIFO threshold triggered.
R
0
2
RXFIFOTHIF
RX FIFO threshold interrupt flag
0: No RX FIFO threshold interrupt
1: RX FIFO threshold triggered.
R
0
1
RXTOIF
RX time-out interrupt flag
RXTO occurs when the RX FIFO is not empty, and has not been read for a
time-out period (32*SPIn_PCLK). The time-out period is the same for
master and slave modes.
0: RXTO doesn’t occur.
1: RXTO occurs.
R
0
0
RXOVFIF
RX Overflow interrupt flag
RXOVF occurs when the RX FIFO is full and another frame is completely
received. The ARM spec implies that the preceding frame data is
overwritten by the new frame data when this occurs.
0: RXOVF doesn’t occur.
1: RXOVF occurs.
R
0