Struct esp32_hal::pac::sens::sar_touch_enable::W
pub struct W(_);
Expand description
Register SAR_TOUCH_ENABLE
writer
Implementations§
§impl W
impl W
pub fn touch_pad_worken(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_TOUCH_ENABLE_SPEC, u16, u16, Unsafe, 10, 0>
pub fn touch_pad_worken(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_TOUCH_ENABLE_SPEC, u16, u16, Unsafe, 10, 0>
Bits 0:9 - Bitmap defining the working set during the measurement.
pub fn touch_pad_outen2(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_TOUCH_ENABLE_SPEC, u16, u16, Unsafe, 10, 10>
pub fn touch_pad_outen2(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_TOUCH_ENABLE_SPEC, u16, u16, Unsafe, 10, 10>
Bits 10:19 - Bitmap defining SET2 for generating wakeup interrupt. SET2 is “touched” only if at least one of touch pad in SET2 is “touched”.
pub fn touch_pad_outen1(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_TOUCH_ENABLE_SPEC, u16, u16, Unsafe, 10, 20>
pub fn touch_pad_outen1(
&mut self
) -> FieldWriterRaw<'_, u32, SAR_TOUCH_ENABLE_SPEC, u16, u16, Unsafe, 10, 20>
Bits 20:29 - Bitmap defining SET1 for generating wakeup interrupt. SET1 is “touched” only if at least one of touch pad in SET1 is “touched”.
Methods from Deref<Target = W<SAR_TOUCH_ENABLE_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_TOUCH_ENABLE_SPEC>> for W
impl From<W<SAR_TOUCH_ENABLE_SPEC>> for W
§fn from(writer: W<SAR_TOUCH_ENABLE_SPEC>) -> W
fn from(writer: W<SAR_TOUCH_ENABLE_SPEC>) -> W
Converts to this type from the input type.