Register a function as QSPI transfer completion callback.
void qspi_dma_register_callback( struct qspi_dma_descriptor * qspi, const enum _qspi_dma_cb_type type, _qspi_dma_cb_t cb )
QSPI_DMA_CB_XFER_DONE: set the function that will be called on QSPI transfer completion including deactivate the CS.
QSPI_DMA_CB_ERROR: set the function that will be called on QSPI transfer error. Register NULL function to not use the callback.
Type: struct qspi_dma_descriptor Struct *
Pointer to the HAL QSPI instance
Type: const enum _qspi_dma_cb_type
Callback type (_qspi_dma_cb_type)
Type: _qspi_dma_cb_t
Pointer to callback function
Type: void