Struct esp32c3::i2s::rx_conf::R

source ·
pub struct R(_);
Expand description

Register RX_CONF reader

Implementations§

Bit 2 - Set this bit to start receiving data

Bit 3 - Set this bit to enable slave receiver mode

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

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

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

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

Bits 10:11 - I2S RX 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 received data.

Bits 13:14 - 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.

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

Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits.

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

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

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

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

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