mirror of https://github.com/ARMmbed/mbed-os.git
[NUC472/M453] Add comment for Receive Time-out IF in SPI HAL
parent
c7fcd071e9
commit
8092c3611b
|
@ -573,7 +573,7 @@ static uint32_t spi_event_check(spi_t *obj)
|
|||
// Receive Time-Out
|
||||
if (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
|
||||
if (spi_base->STATUS & SPI_STATUS_TXUFIF_Msk) {
|
||||
|
|
|
@ -566,7 +566,7 @@ static uint32_t spi_event_check(spi_t *obj)
|
|||
// Receive Time-Out
|
||||
if (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
|
||||
if (spi_base->STATUS & SPI_STATUS_TXUFIF_Msk) {
|
||||
|
|
Loading…
Reference in New Issue