Struct esp32_hal::pac::sens::sar_meas_start1::W
pub struct W(_);
Expand description
Register SAR_MEAS_START1
writer
Implementations§
§impl W
impl W
pub fn meas1_start_sar(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, bool, BitM, 17>
pub fn meas1_start_sar(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, bool, BitM, 17>
Bit 17 - SAR ADC1 controller (in RTC) starts conversion only active when reg_meas1_start_force = 1
pub fn meas1_start_force(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, bool, BitM, 18>
pub fn meas1_start_force(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, bool, BitM, 18>
Bit 18 - 1: SAR ADC1 controller (in RTC) is started by SW 0: SAR ADC1 controller is started by ULP-coprocessor
pub fn sar1_en_pad(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, u16, u16, Unsafe, 12, 19>
pub fn sar1_en_pad(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, u16, u16, Unsafe, 12, 19>
Bits 19:30 - SAR ADC1 pad enable bitmap only active when reg_sar1_en_pad_force = 1
pub fn sar1_en_pad_force(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, bool, BitM, 31>
pub fn sar1_en_pad_force(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_START1_SPEC, bool, BitM, 31>
Bit 31 - 1: SAR ADC1 pad enable bitmap is controlled by SW 0: SAR ADC1 pad enable bitmap is controlled by ULP-coprocessor
Methods from Deref<Target = W<SAR_MEAS_START1_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<SAR_MEAS_START1_SPEC>> for W
impl From<W<SAR_MEAS_START1_SPEC>> for W
§fn from(writer: W<SAR_MEAS_START1_SPEC>) -> W
fn from(writer: W<SAR_MEAS_START1_SPEC>) -> W
Converts to this type from the input type.