uint32_trx_reset:1;/*Set this bit to reset receiver*/
uint32_trx_fifo_reset:1;/*Set this bit to reset Rx AFIFO*/
uint32_trx_start:1;/*Set this bit to start receiving data*/
uint32_trx_slave_mod:1;/*Set this bit to enable slave receiver mode*/
uint32_treserved4:1;/* Reserved*/
uint32_trx_mono:1;/*Set this bit to enable receiver in mono mode*/
uint32_treserved6:1;/*Reserve*/
uint32_trx_big_endian:1;/*I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value.*/
uint32_trx_update:1;/*Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done.*/
uint32_trx_mono_fst_vld:1;/*1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode.*/
uint32_trx_pcm_bypass:1;/*Set this bit to bypass Compress/Decompress module for received data.*/
uint32_trx_stop_mode:2;/*0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full.*/
uint32_trx_left_align:1;/*1: I2S RX left alignment mode. 0: I2S RX right alignment mode.*/
uint32_trx_24_fill_en:1;/*1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits.*/
uint32_trx_ws_idle_pol:1;/*0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel. */
uint32_trx_bit_order:1;/*I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first.*/
uint32_trx_pdm_sinc_dsr_16_en:1;/*Configure the down sampling rate of PDM RX filter group1 module. 1: The down sampling rate is 128. 0: down sampling rate is 64.*/
uint32_ttx_reset:1;/*Set this bit to reset transmitter*/
uint32_ttx_fifo_reset:1;/*Set this bit to reset Tx AFIFO*/
uint32_ttx_start:1;/*Set this bit to start transmitting data */
uint32_ttx_slave_mod:1;/*Set this bit to enable slave transmitter mode */
uint32_treserved4:1;/* Reserved*/
uint32_ttx_mono:1;/*Set this bit to enable transmitter in mono mode */
uint32_ttx_chan_equal:1;/*1: The value of Left channel data is equal to the value of right channel data in I2S TX mono mode or TDM channel select mode. 0: The invalid channel data is reg_i2s_single_data in I2S TX mono mode or TDM channel select mode.*/
uint32_ttx_big_endian:1;/*I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value.*/
uint32_ttx_update:1;/*Set 1 to update I2S TX registers from APB clock domain to I2S TX clock domain. This bit will be cleared by hardware after update register done.*/
uint32_ttx_mono_fst_vld:1;/*1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode.*/
uint32_ttx_pcm_bypass:1;/*Set this bit to bypass Compress/Decompress module for transmitted data.*/
uint32_ttx_stop_en:1;/*Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy*/
uint32_treserved14:1;/* Reserved*/
uint32_ttx_left_align:1;/*1: I2S TX left alignment mode. 0: I2S TX right alignment mode.*/
uint32_ttx_24_fill_en:1;/*1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode*/
uint32_ttx_ws_idle_pol:1;/*0: WS should be 0 when sending left channel data, and WS is 1in right channel. 1: WS should be 1 when sending left channel data, and WS is 0in right channel. */
uint32_ttx_bit_order:1;/*I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first.*/
uint32_trx_tdm_ws_width:7;/* The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH[6:0] +1) * T_bck*/
uint32_trx_bck_div_num:6;/*Bit clock configuration bits in receiver mode. */
uint32_trx_bits_mod:5;/*Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode.*/
uint32_ttx_tdm_ws_width:7;/* The width of tx_ws_out in TDM mode is (I2S_TX_TDM_WS_WIDTH[6:0] +1) * T_bck*/
uint32_ttx_bck_div_num:6;/*Bit clock configuration bits in transmitter mode. */
uint32_ttx_bits_mod:5;/*Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode.*/
uint32_ttx_clkm_div_num:8;/*Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * [x * n-div + (n+1)-div] + y * n-div. For b > a/2, z * [n-div + x * (n+1)-div] + y * (n+1)-div. */
uint32_ttx_tdm_chan0_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan1_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan2_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan3_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan4_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan5_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan6_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan7_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan8_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan9_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan10_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan11_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan12_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan13_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan14_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_chan15_en:1;/*1: Enable the valid data output of I2S TX TDM channel $n. 0: Disable, just output 0 in this channel.*/
uint32_ttx_tdm_tot_chan_num:4;/*The total channel number of I2S TX TDM mode.*/
uint32_ttx_tdm_skip_msk_en:1;/*When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels.*/
uint32_tfifo_timeout:8;/*the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value */
uint32_tfifo_timeout_shift:3;/*The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift*/
uint32_tfifo_timeout_ena:1;/*The enable bit for FIFO timeout*/
uint32_trx_eof_num:12;/*The receive data bit length is (I2S_RX_BITS_MOD[4:0] + 1) * (REG_RX_EOF_NUM[11:0] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel.*/