Struct esp32s3_hal::pac::i2s1::rx_clkm_conf::W
pub struct W(_);
Expand description
Register RX_CLKM_CONF
writer
Implementations§
§impl W
impl W
pub fn rx_clkm_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, u8, u8, Unsafe, 8, 0>
pub fn rx_clkm_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Integral I2S clock divider value
pub fn rx_clk_active(
&mut self
) -> BitWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, bool, BitM, 26>
pub fn rx_clk_active(
&mut self
) -> BitWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, bool, BitM, 26>
Bit 26 - I2S Rx module clock enable signal.
pub fn rx_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, u8, u8, Unsafe, 2, 27>
pub fn rx_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, u8, u8, Unsafe, 2, 27>
Bits 27:28 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in.
pub fn mclk_sel(
&mut self
) -> BitWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, bool, BitM, 29>
pub fn mclk_sel(
&mut self
) -> BitWriterRaw<'_, u32, RX_CLKM_CONF_SPEC, bool, BitM, 29>
Bit 29 - 0: UseI2S Tx module clock as I2S_MCLK_OUT. 1: UseI2S Rx module clock as I2S_MCLK_OUT.
Methods from Deref<Target = W<RX_CLKM_CONF_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_CLKM_CONF_SPEC>> for W
impl From<W<RX_CLKM_CONF_SPEC>> for W
§fn from(writer: W<RX_CLKM_CONF_SPEC>) -> W
fn from(writer: W<RX_CLKM_CONF_SPEC>) -> W
Converts to this type from the input type.