1.6.18.11 1.7.19.11 1.8.15.11 1.25.14.11 1.26.13.11 1.27.14.11 1.28.17.11 1.32.21.11 1.34.12.11 1.42.12.11 QSPIx_IsBusy Function
C
// x - Instance of the QSPI peripheral bool QSPIx_IsBusy (void):
Summary
Returns transfer status of QSPI peripheral. This is used in SPI mode only.
Description
This function returns transfer status of last successful Write, Read or WriteRead request on QSPI module in interrupt mode.
Precondition
None.
Parameters
None.
Returns
Returns the current status of transfer happening on QSPI
-
true: Transfer is still in progress
-
false: Transfer is completed
Example
if (QSPI0_IsBusy() == false) { //Data Transfer is complete, do something else. }
Remarks
This API is available only for interrupt mode as blocking mode transfer APIs will always return only after completing the transfer.