MT7687 API Reference  LinkIt SDK v4



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

Typedef Documentation

typedef void(* hal_irtx_pulse_data_callback_t) (hal_irtx_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 the IRTX interrupt service routine after a transaction is complete.

[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_irtx_event_t.
[in]user_datais a parameter provided by the application.The IRTX callback