MT7697 API Reference  LinkIt SDK v4
Typedef
HAL » I2S

Overview

Typedefs

typedef void(* hal_i2s_rx_callback_t) (hal_i2s_event_t event, void *user_data)
 This function defines the I2S RX VFIFO 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 VFIFO callback function prototype. More...
 

Typedef Documentation

typedef void(* hal_i2s_rx_callback_t) (hal_i2s_event_t event, void *user_data)

This function defines the I2S RX VFIFO 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_vfifo_callback().

Parameters
[in]eventis 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_datais a parameter given by the user with hal_i2s_register_rx_vfifo_callback().
typedef void(* hal_i2s_tx_callback_t) (hal_i2s_event_t event, void *user_data)

This function defines the I2S TX VFIFO 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_vfifo_callback().

Parameters
[in]eventis 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_datais a parameter given by the user with hal_i2s_register_tx_vfifo_callback().