Struct esp32s3_hal::pac::i2s1::tx_conf::R

pub struct R(_);
Expand description

Register TX_CONF reader

Implementations§

Bit 2 - Set this bit to start transmitting data

Bit 3 - Set this bit to enable slave transmitter mode

Bit 5 - Set this bit to enable transmitter in mono mode

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

Bit 7 - I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value.

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

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

Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &

Bit 12 - Set this bit to bypass Compress/Decompress module for transmitted data.

Bit 13 - Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy

Bit 15 - 1: I2S TX left alignment mode. 0: I2S TX right alignment mode.

Bit 16 - 1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode

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

Bit 18 - I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first.

Bit 19 - 1: Enable I2S TDM Tx mode . 0: Disable.

Bit 20 - 1: Enable I2S PDM Tx mode . 0: Disable.

Bits 24:26 - I2S transmitter channel mode configuration bits.

Bit 27 - Enable signal loop back mode with transmitter module and receiver module sharing the same WS and BCK signals.

Methods from Deref<Target = R<TX_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.