This defines the callback function prototype.
Register a callback function when in an interrupt mode, this function will be called in GDMA interrupt service routine after a transaction is complete. For more details about the callback, please refer to the hal_gdma_register_callback() function. For more details about the callback architecture, please refer to Software architecture of the GDMA.
|[in]||event||is the transaction event for the current transaction, application can get the transaction result from this parameter. For more details about the event type, please refer to hal_gdma_event_t |
|[in]||user_data||is a parameter provided by the application applying the hal_gdma_register_callback() function. |