![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 534](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794534.webp)
GD32E23x User Manual
534
RXFIFO that generate RBNE.
0: Half-word access, and RBNE is generated when RXLVL >= 2.
1: Byte access, and RBNE is generated when RXLVL >= 1.
11:8
DZ[3:0]
Date size (only for SPI1)
This field indicates the data size for transfer.
0000: Force to “0111”
0001: Force to “0111”
0010:
Force to “0111”
0011: 4-bit
0100: 5-bit
……
1111: 16-bit
7
TBEIE
Transmit buffer / TXFIFO empty interrupt enable
0: Disable TBE interrupt
1: Enable TBE interrupt. An interrupt is generated when the TBE bit is set.
6
RBNEIE
Receive buffer / RXFIFO not empty interrupt enable
0: Disable RBNE interrupt.
1: Enable RBNE interrupt. An interrupt is generated when the RBNE bit is set.
5
ERRIE
Errors interrupt enable.
0: Disable error interrupt
1: Enable error interrupt. An interrupt is generated when the CRCERR bit or the
CONFERR bit or the FERR bit or the RXORERR bit or the TXURERR bit is set.
4
TMOD
SPI TI mode enable.
0: Disable SPI TI mode
1: Enable SPI TI mode
3
NSSP
SPI NSS pulse mode enable.
0: Disable SPI NSS pulse mode
1: Enable SPI NSS pulse mode
2
NSSDRV
Drive NSS output
0: Disable master NSS output
1: Enable master NSS output
1
DMATEN
Transmit buffer / TXFIFO DMA enable
0: Disable transmit buffer / TXFIFO DMA.
1: Enable transmit buffer / TXFIFO DMA, when the TBE bit in SPI_STAT is set, it
will be a DMA request on corresponding DMA channel.
0
DMAREN
Receive buffer / RXFIFO DMA enable
0: Disable receive buffer / RXFIFO DMA
1: Enable receive buffer / RXFIFO DMA, when the RBNE bit in SPI_STAT is set, it
will be a DMA request on corresponding DMA channel.