The FSI module supports detection of data overrun
or underrun conditions.
- Receive buffer overrun - This event indicates that the transfer of data from
the receive shift register to the receiver data buffer register overwrites
unread data already in received data.
- Receive buffer underrun – This event indicates that software reads the buffer
while the buffer is empty.
- Transmit buffer overrun – This event occurs if a piece of data is overwritten
before the data has been transmitted.
- Transmit buffer underrun – This event occurs when the transmitter tries to read
data from a location which has not yet been written.
A flag bit is set and an interrupt is generated
when a data overrun and underrun error occurs and a corresponding register bit is
enabled.