MT7697 API Reference  LinkIt SDK v4
Typedef

Overview

Typedefs

typedef void(* hal_gdma_callback_t) (hal_gdma_event_t event, void *user_data)
 This defines the callback function prototype. More...
 

Typedef Documentation

typedef void(* hal_gdma_callback_t) (hal_gdma_event_t event, void *user_data)

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.

Parameters
[in]eventis 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_datais a parameter provided by the application applying the hal_gdma_register_callback() function.