
ISD91200 Series Technical Reference Manual
Release Date: Sep 16, 2019
- 244 -
Revision 2.4
SPI Status Register (SPI0_STATUS)
Register
Offset
R/W Description
Reset Value
SPI0_STATU
S
S 0x14
R/W Status Register
0x0005_0110
Table 5-96 SPI Status Register SPI0_STATUS (address S 0x14)
31
30
29
28
27
26
25
24
TXCNT
RXCNT
23
22
21
20
19
18
17
16
TXRXRST
Reserved
TXUFIF
TXTHIF
TXFULL
TXEMPTY
15
14
13
12
11
10
9
8
SPIENSTS
Reserved
RXTOIF
RXOVIF
RXTHIF
RXFULL
RXEMPTY
7
6
5
4
3
2
1
0
SLVURIF
SLVBEIF
SLVTOIF
SSLINE
SSINAIF
SSACTIF
UNITIF
BUSY
Bits
Description
[31:28]
TXCNT
Transmit FIFO Data Count (Read Only)
This bit field indicates the valid data count of transmit FIFO buffer.
[27:24]
RXCNT
Receive FIFO Data Count (Read Only)
This bit field indicates the valid data count of receive FIFO buffer.
[23]
TXRXRST
FIFO CLR Status (Read Only)
0 = Done the FIFO buffer clear function of TXRST and RXRST.
1 = Doing the FIFO buffer clear function of TXRST or RXRST.
Note:
Both the TXRST, RXRST, need 3 system clock + 3 engine clocks, the status of this
bit allows the user to monitor whether the clear function is busy or done.
[22:20]
Reserved
Reserved.
[19]
TXUFIF
Slave Transmit FIFO Under-run Interrupt Status (Read Only)
When the transmit FIFO buffer is empty and further serial clock pulses occur, data
transmitted will be the value of the last transmitted bit and this under-run bit will be set.
Note: This bit will be cleared by writing 1 to itself.
[18]
TXTHIF
Transmit FIFO Threshold Interrupt Status (Read Only)
0 = The valid data count of the transmit FIFO buffer is larger than the setting value of
TXTH.
1 = The valid data count of the transmit FIFO buffer is less than or equal to the setting
value of TXTH.
Note: If TXTHIEN = 1 and TXTHIF = 1, the SPI controller will generate a SPI interrupt
request.
[17]
TXFULL
Transmit FIFO Buffer Full Indicator (Read Only)
0 = Transmit FIFO buffer is not full.
1 = Transmit FIFO buffer is full.
[16]
TXEMPTY
Transmit FIFO Buffer Empty Indicator (Read Only)
0 = Transmit FIFO buffer is not empty.
1 = Transmit FIFO buffer is empty.