This API is the handler which performs processing for the QSPI driver.
It is called from an interrupt context such that the amount of processing performed should be minimized. It is called when a transfer of QSPI data completes or an error occurs.
This handler provides an example of how to handle QSPI interrupts but is application specific.
Note: None.
Prototype
void XIsf_IfaceHandler(void *CallBackRef, u32 StatusEvent, unsigned int ByteCount);
Parameters
The following table lists the XIsf_IfaceHandler
function arguments.
Type | Name | Description |
---|---|---|
void * | CallBackRef | Reference passed to the handler. |
u32 | StatusEvent | Status of the QSPI . |
unsigned int | ByteCount | Number of bytes transferred. |