MT7697 API Reference  LinkIt SDK v4
hal_i2s_link_config_t Struct Reference
HAL » I2S » Struct

I2S link structure. More...

#include <hal_i2s.h>

Data Fields

hal_i2s_sample_rate_t sample_rate
 Sampling rate of the I2S link. More...
 
hal_i2s_channel_number_t channel_number
 Channel number of the I2S link. More...
 
uint32_t msb_offset
 The number of bits delay between frame sync and first data bit of the I2S link. More...
 
hal_i2s_lr_swap_t lr_swap
 Enable or disable data swapping between right and left channels of the I2S link by setting this value. More...
 
hal_i2s_word_select_inverse_t word_select_inverse
 Enable or disable word select clock inverting of the I2S link by setting this value. More...
 

Detailed Description

I2S link structure.

Field Documentation

hal_i2s_channel_number_t channel_number

Channel number of the I2S link.

Enable or disable data swapping between right and left channels of the I2S link by setting this value.

uint32_t msb_offset

The number of bits delay between frame sync and first data bit of the I2S link.

The user can set msb_offset from 0 to 127 on TDM mode.

hal_i2s_sample_rate_t sample_rate

Sampling rate of the I2S link.

hal_i2s_word_select_inverse_t word_select_inverse

Enable or disable word select clock inverting of the I2S link by setting this value.


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