Struct esp32s3_hal::pac::rtc_cntl::touch_ctrl1::W
pub struct W(_);
Expand description
Register TOUCH_CTRL1
writer
Implementations§
§impl W
impl W
pub fn touch_sleep_cycles(
&mut self
) -> FieldWriterRaw<'_, u32, TOUCH_CTRL1_SPEC, u16, u16, Unsafe, 16, 0>
pub fn touch_sleep_cycles(
&mut self
) -> FieldWriterRaw<'_, u32, TOUCH_CTRL1_SPEC, u16, u16, Unsafe, 16, 0>
Bits 0:15 - sleep cycles for timer
pub fn touch_meas_num(
&mut self
) -> FieldWriterRaw<'_, u32, TOUCH_CTRL1_SPEC, u16, u16, Unsafe, 16, 16>
pub fn touch_meas_num(
&mut self
) -> FieldWriterRaw<'_, u32, TOUCH_CTRL1_SPEC, u16, u16, Unsafe, 16, 16>
Bits 16:31 - the meas length (in 8MHz)
Methods from Deref<Target = W<TOUCH_CTRL1_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<TOUCH_CTRL1_SPEC>> for W
impl From<W<TOUCH_CTRL1_SPEC>> for W
§fn from(writer: W<TOUCH_CTRL1_SPEC>) -> W
fn from(writer: W<TOUCH_CTRL1_SPEC>) -> W
Converts to this type from the input type.