Expand description
I2S configuration register
Structs
I2S configuration register
Field PRE_REQ_EN
reader - Set this bit to enable I2S to prepare data earlier.
Field PRE_REQ_EN
writer - Set this bit to enable I2S to prepare data earlier.
Register CONF
reader
Field RX_BIG_ENDIAN
reader - I2S RX byte endianness.
Field RX_BIG_ENDIAN
writer - I2S RX byte endianness.
Field RX_DMA_EQUAL
reader - 1: Data in left channel is equal to data in right channel. 0: Data in left channel is not equal to data in right channel.
Field RX_DMA_EQUAL
writer - 1: Data in left channel is equal to data in right channel. 0: Data in left channel is not equal to data in right channel.
Field RX_FIFO_RESET_ST
reader - I2S RX FIFO reset status. 1: I2S_RX_FIFO_RESET is not completed. 0: I2S_RX_FIFO_RESET is completed.
Field RX_FIFO_RESET
writer - Set this bit to reset RX FIFO.
Field RX_LSB_FIRST_DMA
reader - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits.
Field RX_LSB_FIRST_DMA
writer - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits.
Field RX_MONO
reader - Set this bit to enable receiver in mono mode.
Field RX_MONO
writer - Set this bit to enable receiver in mono mode.
Field RX_MSB_RIGHT
reader - Set this bit to place right channel data at the MSB in RX FIFO.
Field RX_MSB_RIGHT
writer - Set this bit to place right channel data at the MSB in RX FIFO.
Field RX_MSB_SHIFT
reader - Set this bit to enable receiver in Phillips standard mode.
Field RX_MSB_SHIFT
writer - Set this bit to enable receiver in Phillips standard mode.
Field RX_RESET_ST
reader - I2S RX reset status. 1: I2S_RX_RESET is not completed. 0: I2S_RX_RESET is completed.
Field RX_RESET
writer - Set this bit to reset receiver.
Field RX_RIGHT_FIRST
reader - Set this bit to receive right channel data first.
Field RX_RIGHT_FIRST
writer - Set this bit to receive right channel data first.
Field RX_SHORT_SYNC
reader - Set this bit to enable receiver in PCM standard mode.
Field RX_SHORT_SYNC
writer - Set this bit to enable receiver in PCM standard mode.
Field RX_SLAVE_MOD
reader - Set this bit to enable slave receiver mode.
Field RX_SLAVE_MOD
writer - Set this bit to enable slave receiver mode.
Field RX_START
reader - Set this bit to start receiving data.
Field RX_START
writer - Set this bit to start receiving data.
Field SIG_LOOPBACK
reader - Enable signal loopback mode with transmitter module and receiver module sharing the same WS and BCK signals.
Field SIG_LOOPBACK
writer - Enable signal loopback mode with transmitter module and receiver module sharing the same WS and BCK signals.
Field TX_BIG_ENDIAN
reader - I2S TX byte endianness.
Field TX_BIG_ENDIAN
writer - I2S TX byte endianness.
Field TX_DMA_EQUAL
reader - 1: Data in left channel is equal to data in right channel. 0: Data in left channel is not equal to data in right channel.
Field TX_DMA_EQUAL
writer - 1: Data in left channel is equal to data in right channel. 0: Data in left channel is not equal to data in right channel.
Field TX_FIFO_RESET_ST
reader - I2S TX FIFO reset status. 1: I2S_TX_FIFO_RESET is not completed. 0: I2S_TX_FIFO_RESET is completed.
Field TX_FIFO_RESET
writer - Set this bit to reset TX FIFO.
Field TX_LSB_FIRST_DMA
reader - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits.
Field TX_LSB_FIRST_DMA
writer - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits.
Field TX_MONO
reader - Set this bit to enable transmitter in mono mode.
Field TX_MONO
writer - Set this bit to enable transmitter in mono mode.
Field TX_MSB_RIGHT
reader - Set this bit to place right channel data at the MSB in TX FIFO.
Field TX_MSB_RIGHT
writer - Set this bit to place right channel data at the MSB in TX FIFO.
Field TX_MSB_SHIFT
reader - Set this bit to enable transmitter in Phillips standard mode.
Field TX_MSB_SHIFT
writer - Set this bit to enable transmitter in Phillips standard mode.
Field TX_RESET_ST
reader - I2S TX reset status. 1: I2S_TX_RESET is not completed. 0: I2S_TX_RESET is completed.
Field TX_RESET
writer - Set this bit to reset transmitter.
Field TX_RIGHT_FIRST
reader - Set this bit to transmit right channel data first.
Field TX_RIGHT_FIRST
writer - Set this bit to transmit right channel data first.
Field TX_SHORT_SYNC
reader - Set this bit to enable transmitter in PCM standard mode.
Field TX_SHORT_SYNC
writer - Set this bit to enable transmitter in PCM standard mode.
Field TX_SLAVE_MOD
reader - Set this bit to enable slave transmitter mode.
Field TX_SLAVE_MOD
writer - Set this bit to enable slave transmitter mode.
Field TX_START
reader - Set this bit to start transmitting data.
Field TX_START
writer - Set this bit to start transmitting data.
Register CONF
writer