Struct esp32s3_hal::pac::i2s1::rx_conf1::W
pub struct W(_);
Expand description
Register RX_CONF1
writer
Implementations§
§impl W
impl W
pub fn rx_tdm_ws_width(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 7, 0>
pub fn rx_tdm_ws_width(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 7, 0>
Bits 0:6 - The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH[6:0] +1) * T_bck
pub fn rx_bck_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 6, 7>
pub fn rx_bck_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 6, 7>
Bits 7:12 - Bit clock configuration bits in receiver mode.
pub fn rx_bits_mod(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 5, 13>
pub fn rx_bits_mod(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 5, 13>
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.
pub fn rx_half_sample_bits(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 6, 18>
pub fn rx_half_sample_bits(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 6, 18>
Bits 18:23 - I2S Rx half sample bits -1.
pub fn rx_tdm_chan_bits(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 5, 24>
pub fn rx_tdm_chan_bits(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CONF1_SPEC, u8, u8, Unsafe, 5, 24>
Bits 24:28 - The Rx bit number for each channel minus 1in TDM mode.
pub fn rx_msb_shift(
&mut self
) -> BitWriterRaw<'_, u32, RX_CONF1_SPEC, bool, BitM, 29>
pub fn rx_msb_shift(
&mut self
) -> BitWriterRaw<'_, u32, RX_CONF1_SPEC, bool, BitM, 29>
Bit 29 - Set this bit to enable receiver in Phillips standard mode
Methods from Deref<Target = W<RX_CONF1_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<RX_CONF1_SPEC>> for W
impl From<W<RX_CONF1_SPEC>> for W
§fn from(writer: W<RX_CONF1_SPEC>) -> W
fn from(writer: W<RX_CONF1_SPEC>) -> W
Converts to this type from the input type.