Struct esp32_hal::pac::sens::sar_meas_wait2::W
pub struct W(_);
Expand description
Register SAR_MEAS_WAIT2
writer
Implementations§
§impl W
impl W
pub fn force_xpd_sar_sw(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, bool, BitM, 0>
pub fn force_xpd_sar_sw(
&mut self
) -> BitWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, bool, BitM, 0>
Bit 0
pub fn sar_amp_wait3(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u16, u16, Unsafe, 16, 0>
pub fn sar_amp_wait3(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u16, u16, Unsafe, 16, 0>
Bits 0:15
pub fn force_xpd_amp(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u8, u8, Unsafe, 2, 16>
pub fn force_xpd_amp(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u8, u8, Unsafe, 2, 16>
Bits 16:17
pub fn force_xpd_sar(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u8, u8, Unsafe, 2, 18>
pub fn force_xpd_sar(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u8, u8, Unsafe, 2, 18>
Bits 18:19
pub fn sar2_rstb_wait(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u8, u8, Unsafe, 8, 20>
pub fn sar2_rstb_wait(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_MEAS_WAIT2_SPEC, u8, u8, Unsafe, 8, 20>
Bits 20:27
Methods from Deref<Target = W<SAR_MEAS_WAIT2_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_WAIT2_SPEC>> for W
impl From<W<SAR_MEAS_WAIT2_SPEC>> for W
§fn from(writer: W<SAR_MEAS_WAIT2_SPEC>) -> W
fn from(writer: W<SAR_MEAS_WAIT2_SPEC>) -> W
Converts to this type from the input type.