![]() |
MT2523 API Reference
LinkIt SDK v4
|
Typedefs | |
| typedef void(* | hal_i2s_rx_callback_t) (hal_i2s_event_t event, void *user_data) |
| This function defines the I2S RX callback function prototype. More... | |
| typedef void(* | hal_i2s_tx_callback_t) (hal_i2s_event_t event, void *user_data) |
| This function defines the I2S TX callback function prototype. More... | |
| typedef void(* hal_i2s_rx_callback_t) (hal_i2s_event_t event, void *user_data) |
This function defines the I2S RX callback function prototype.
The user should register a callback function while turning the I2S RX link on. For more details about the callback, please refer to hal_i2s_register_rx_callback().
| [in] | event | is the value defined in hal_i2s_event_t. This parameter is given by the driver to tell the user of data flow processing behavior. |
| [in] | user_data | is a parameter given by the user with hal_i2s_register_rx_callback(). |
| typedef void(* hal_i2s_tx_callback_t) (hal_i2s_event_t event, void *user_data) |
This function defines the I2S TX callback function prototype.
The user should register a callback function while turning the I2S TX link on. For more details about the callback, please refer to hal_i2s_register_tx_callback().
| [in] | event | is the value defined in hal_i2s_event_t. This parameter is given by the driver to provide the data flow processing information to the user. |
| [in] | user_data | is a parameter given by the user with hal_i2s_register_tx_callback(). |