
Rev. 1.00
465 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
21 Serial Peripheral Interface (SPI)
21 Serial Peripheral Interface (SPI)
Bits
Field
Descriptions
[2]
RXBNE
RX Buffer Not Empty flag
0: RX buffer is empty
1: RX buffer is not empty
This bit indicates the RX buffer status in the non-FIFO mode. It is also used to
indicate if the RX FIFO trigger level has been reached in the FIFO mode. This bit will
be cleared when the SPI RX buffer is empty in the non-FIFO mode or if the number
of data contained in RX FIFO is less than the trigger level which is specified by the
RXFTLS field in the SPIFCR register in the SPI FIFO mode.
[1]
TXE
Transmission Register Empty flag
0: TX buffer or TX shift register is not empty
1: TX buffer and TX shift register both are empty
[0]
TXBE
TX Buffer Empty flag
0: TX buffer is not empty
1: TX buffer is empty
In the FIFO mode, this bit if set indicates that the number of data contained in TX
FIFO is equal to or less than the trigger level specified by the TXFTLS field in the
SPIFCR register.
SPI FIFO Control Register – SPIFCR
This register contains the related SPI FIFO control including the FIFO enable control and the FIFO trigger level
selections.
Offset:
0x018
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
Reserved
FIFOEN
Reserved
Type/Reset
RW 0
7
6
5
4
3
2
1
0
RXFTLS
TXFTLS
Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[10]
FIFOEN
FIFO Enable
0: FIFO is disabled
1: FIFO is enabled
This bit cannot be set or reset when the SPI interface is in transmitting.