Struct esp32s3::i2s1::rx_conf1::W

source ·
pub struct W(_);
Expand description

Register RX_CONF1 writer

Implementations

Bits 0:6 - The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH[6:0] +1) * T_bck

Bits 7:12 - Bit clock configuration bits in receiver mode.

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

Bits 18:23 - I2S Rx half sample bits -1.

Bits 24:28 - The Rx bit number for each channel minus 1in TDM mode.

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

Writes raw bits to the register.

Methods from Deref<Target = W<RX_CONF1_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably 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.