Struct esp32s2::i2s::conf::R

source ·
pub struct R(_);
Expand description

Register CONF reader

Implementations§

Bit 4 - Set this bit to start transmitting data.

Bit 5 - Set this bit to start receiving data.

Bit 6 - Set this bit to enable slave transmitter mode.

Bit 7 - Set this bit to enable slave receiver mode.

Bit 8 - Set this bit to transmit right channel data first.

Bit 9 - Set this bit to receive right channel data first.

Bit 10 - Set this bit to enable transmitter in Phillips standard mode.

Bit 11 - Set this bit to enable receiver in Phillips standard mode.

Bit 12 - Set this bit to enable transmitter in PCM standard mode.

Bit 13 - Set this bit to enable receiver in PCM standard mode.

Bit 14 - Set this bit to enable transmitter in mono mode.

Bit 15 - Set this bit to enable receiver in mono mode.

Bit 16 - Set this bit to place right channel data at the MSB in TX FIFO.

Bit 17 - Set this bit to place right channel data at the MSB in RX FIFO.

Bit 18 - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits.

Bit 19 - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits.

Bit 20 - Enable signal loopback mode with transmitter module and receiver module sharing the same WS and BCK signals.

Bit 21 - I2S TX FIFO reset status. 1: I2S_TX_FIFO_RESET is not completed. 0: I2S_TX_FIFO_RESET is completed.

Bit 22 - I2S RX FIFO reset status. 1: I2S_RX_FIFO_RESET is not completed. 0: I2S_RX_FIFO_RESET is completed.

Bit 23 - I2S TX reset status. 1: I2S_TX_RESET is not completed. 0: I2S_TX_RESET is completed.

Bit 24 - 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.

Bit 25 - 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.

Bit 26 - Set this bit to enable I2S to prepare data earlier.

Bit 27 - I2S TX byte endianness.

Bit 28 - I2S RX byte endianness.

Bit 29 - I2S RX reset status. 1: I2S_RX_RESET is not completed. 0: I2S_RX_RESET is completed.

Methods from Deref<Target = R<CONF_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.