MT7687 API Reference  LinkIt SDK v4
hal_i2s_config_t Struct Reference
HAL » I2S » Struct

I2S configure structure. More...

#include <hal_i2s.h>

Data Fields

hal_i2s_link_config_t i2s_in
 I2S input link configuration. More...
 
hal_i2s_link_config_t i2s_out
 I2S output link configuration. More...
 
hal_i2s_clock_mode_t clock_mode
 I2S clock source. More...
 
hal_i2s_tx_mode_t tx_mode
 Enable or disable the I2S TX to send the same data on right and left channels. More...
 
hal_i2s_rx_down_rate_t rx_down_rate
 Enable or disable downsampling of the I2S RX rate by half of the I2S RX sampling rate by automatically dropping one sample in each two incoming RX samples. More...
 

Detailed Description

I2S configure structure.

Field Documentation

I2S clock source.

Please refer to hal_i2s_clock_mode_t.

I2S input link configuration.

I2S output link configuration.

hal_i2s_rx_down_rate_t rx_down_rate

Enable or disable downsampling of the I2S RX rate by half of the I2S RX sampling rate by automatically dropping one sample in each two incoming RX samples.

Enable or disable the I2S TX to send the same data on right and left channels.

Enable this funtion is not allowed when the channel number of I2S TX is set to HAL_I2S_STEREO.


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