GD32VF103 User Manual
409
1: NSS output is enabled. If the NSS pin is configured as output, the NSS pin is
pulled low in master mode when SPI is enabled.
If the NSS pin is configured as input, the NSS pin should be pulled high in master
mode, and this bit has no effect.
Transmit buffer DMA enable
0: Transmit buffer DMA is disabled.
1: Transmit buffer DMA is enabled, when the TBE bit in SPI_STAT is set, there will
be a DMA request on corresponding DMA channel.
Receive buffer DMA enable
0: Receive buffer DMA is disabled.
1: Receive buffer DMA is enabled, when the RBNE bit in SPI_STAT is set, there will
be a DMA request on corresponding DMA channel.
18.11.3. Status register (SPI_STAT)
Address offset: 0x08
Reset value: 0x0002
This register can be accessed by half-word (16-bit) or word (32-bit).
Must be kept at reset value.
SPI TI Mode:
0: No TI mode format error
1: TI mode format error occurs
I2S Mode:
0: No I2S format error
1: I2S format error occurs
This bit is set by hardware and cleared by writing 0.
0: SPI or I2S is idle.
1: SPI or I2S is currently transmitting and/or receiving a frame
This bit is set and cleared by hardware.