
GD32F10x User Manual
508
Error conditions
There are two error conditions:
Transmission underrun error flag (TXURERR)
This situation occurs when the transmission buffer is empty when the valid SCK signal starts
in slave transmission mode.
Reception overrun error flag (RXORERR)
This situation occurs when the reception buffer is full and a newly incoming data has been
completely received. When overrun occurs, the data in reception buffer is not updated and
the newly incoming data is lost.
I2S interrupt events and corresponding enabled bits are summed up in the
Table 18-9. 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.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...