mirror of https://github.com/ARMmbed/mbed-os.git
Add comment for Receive Time-out IF in SPI HAL
parent
b8ed5579e9
commit
abd8dee9e5
|
@ -542,7 +542,7 @@ static uint32_t spi_event_check(spi_t *obj)
|
||||||
// Receive Time-Out
|
// Receive Time-Out
|
||||||
if (spi_base->STATUS & SPI_STATUS_RXTOIF_Msk) {
|
if (spi_base->STATUS & SPI_STATUS_RXTOIF_Msk) {
|
||||||
spi_base->STATUS = SPI_STATUS_RXTOIF_Msk;
|
spi_base->STATUS = SPI_STATUS_RXTOIF_Msk;
|
||||||
//event |= SPI_EVENT_ERROR;
|
// Not using this IF. Just clear it.
|
||||||
}
|
}
|
||||||
// Transmit FIFO Under-Run
|
// Transmit FIFO Under-Run
|
||||||
if (spi_base->STATUS & SPI_STATUS_TXUFIF_Msk) {
|
if (spi_base->STATUS & SPI_STATUS_TXUFIF_Msk) {
|
||||||
|
|
Loading…
Reference in New Issue