EasyManua.ls Logo

SONIX SN32F264 - SPI N Interrupt Enable Register (Spin; SPI N Raw Interrupt Status Register (Spin

Default Icon
141 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD Page 94 Version 1.5
1: TX FIFO is full.
0
TX_EMPTY
TX FIFO empty flag.
0: TX FIFO is NOT empty. In Master mode, the transmitter will begin to
transmit automatically.
1: TX FIFO is empty.
R
1
8.6.5 SPI n Interrupt Enable register (SPIn _IE) (n=0)
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:4
Reserved
R
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
8.6.6 SPI n Raw Interrupt Status register (SPIn _RIS) (n=0)
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:4
Reserved
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*SSPn_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

Table of Contents

Related product manuals