Struct esp32c2_hal::pac::apb_saradc::onetime_sample::W
pub struct W(_);
Expand description
Register ONETIME_SAMPLE
writer
Implementations§
§impl W
impl W
pub fn saradc_onetime_atten(
&mut self
) -> FieldWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, u8, u8, Unsafe, 2, 23>
pub fn saradc_onetime_atten(
&mut self
) -> FieldWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, u8, u8, Unsafe, 2, 23>
Bits 23:24 - Need add description
pub fn saradc_onetime_channel(
&mut self
) -> FieldWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, u8, u8, Unsafe, 4, 25>
pub fn saradc_onetime_channel(
&mut self
) -> FieldWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, u8, u8, Unsafe, 4, 25>
Bits 25:28 - Need add description
pub fn saradc_onetime_start(
&mut self
) -> BitWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, bool, BitM, 29>
pub fn saradc_onetime_start(
&mut self
) -> BitWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, bool, BitM, 29>
Bit 29 - Need add description
pub fn saradc2_onetime_sample(
&mut self
) -> BitWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, bool, BitM, 30>
pub fn saradc2_onetime_sample(
&mut self
) -> BitWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, bool, BitM, 30>
Bit 30 - Need add description
pub fn saradc1_onetime_sample(
&mut self
) -> BitWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, bool, BitM, 31>
pub fn saradc1_onetime_sample(
&mut self
) -> BitWriterRaw<'_, u32, ONETIME_SAMPLE_SPEC, bool, BitM, 31>
Bit 31 - Need add description
Methods from Deref<Target = W<ONETIME_SAMPLE_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<ONETIME_SAMPLE_SPEC>> for W
impl From<W<ONETIME_SAMPLE_SPEC>> for W
§fn from(writer: W<ONETIME_SAMPLE_SPEC>) -> W
fn from(writer: W<ONETIME_SAMPLE_SPEC>) -> W
Converts to this type from the input type.