GD32VF103 User Manual
405
Table 18-7. I2S interrupt
Interrupt flag
Description
Clear method
Interrupt
enable bit
TBE
Transmit buffer empty
Write SPI_DATA register
TBEIE
RBNE
Receive buffer not empty
Read SPI_DATA register
RBNEIE
TXURERR
Transmission underrun error
Read SPI_STAT register
ERRIE
RXORERR
Reception overrun error
Read SPI_DATA register and
then read SPI_STAT register.
FERR
I2S format error
Read SPI_STAT register