This section describes callback function of the driver. The callback function is called by the driver to notify interrupt of the peripheral. All interrupt flags are cleared automatically by the driver.
Enumerator |
---|
SPI0_CALLBACK |
SPI0 interrupt.
|
SPI1_CALLBACK |
SPI1 interrupt.
|
Enumerator |
---|
SPI_TX_CALLBACK |
Transmit Complete (SPTEF)
|
SPI_RX_CALLBACK |
Receive Data Register or FIFO Full (SPRF)
|
SPI_MATCH_CALLBACK |
Received value matches MH:ML registers (SPMF)
|
SPI_FAULT_CALLBACK |
Mode fault error (MODF), only if SS is disabled.
|
SPI_RXFNF_CALLBACK |
Receiver FIFO nearly full (RNFULLF), only if FIFO is enabled.
|
SPI_TXFNE_CALLBACK |
Transmit FIFO nearly empty (TNEAREF), only if FIFO is enabled.
|