MT7687 API Reference  LinkIt SDK v4



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

Typedef Documentation

typedef void(* hal_irrx_callback_t) (hal_irrx_event_t event, void *user_data)

This defines the callback function prototype.

Register a callback function when in an interrupt mode, this function is called in IRRX interrupt service routine after a transaction is complete.

[in]eventis the transaction event for the current transaction. Application obtains the transaction result from this parameter. For more details about the event type, please refer to hal_irrx_event_t.
[in]user_datais a parameter provided by the application.