Struct esp32_hal::pac::i2s0::esco_conf0::W
pub struct W(_);
Expand description
Register ESCO_CONF0
writer
Implementations§
§impl W
impl W
pub fn esco_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 0>
pub fn esco_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 0>
Bit 0
pub fn esco_chan_mod(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 1>
pub fn esco_chan_mod(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 1>
Bit 1
pub fn esco_cvsd_dec_pack_err(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 2>
pub fn esco_cvsd_dec_pack_err(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 2>
Bit 2
pub fn esco_cvsd_pack_len_8k(
&mut self
) -> FieldWriterRaw<'_, u32, ESCO_CONF0_SPEC, u8, u8, Unsafe, 5, 3>
pub fn esco_cvsd_pack_len_8k(
&mut self
) -> FieldWriterRaw<'_, u32, ESCO_CONF0_SPEC, u8, u8, Unsafe, 5, 3>
Bits 3:7
pub fn esco_cvsd_inf_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 8>
pub fn esco_cvsd_inf_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 8>
Bit 8
pub fn cvsd_dec_start(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 9>
pub fn cvsd_dec_start(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 9>
Bit 9
pub fn cvsd_dec_reset(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 10>
pub fn cvsd_dec_reset(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 10>
Bit 10
pub fn plc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 11>
pub fn plc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 11>
Bit 11
pub fn plc2dma_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 12>
pub fn plc2dma_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCO_CONF0_SPEC, bool, BitM, 12>
Bit 12
Methods from Deref<Target = W<ESCO_CONF0_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<ESCO_CONF0_SPEC>> for W
impl From<W<ESCO_CONF0_SPEC>> for W
§fn from(writer: W<ESCO_CONF0_SPEC>) -> W
fn from(writer: W<ESCO_CONF0_SPEC>) -> W
Converts to this type from the input type.