Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
hal_i2s_config Struct Reference

I2S configure structure. More...

#include <mhal_i2s.h>

Data Fields

struct hal_i2s_link_config i2s_in
 I2S input link configuration.
 
struct hal_i2s_link_config i2s_out
 I2S output link configuration.
 
hal_i2s_tx_mode tx_mode
 Enable or disable the right channel of I2S Tx sending the same data as the left channel of I2S Tx.
 
hal_i2s_rx_down_rate rx_down_rate
 Enable or disable the function of real sample rate of I2S Rx being 1/2 of SR, and I2S Rx will drop one sample in each two Rx samples automatically.
 

Detailed Description

I2S configure structure.

The hal_i2s_config structure is used to configure the I2S protocol. It is used in the mtk_mhal_i2s_set_config().


The documentation for this struct was generated from the following file: