pub struct W(_);
Expand description
Register STATE0
writer
Implementations§
§impl W
impl W
pub fn touch_wakeup_force_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 20>
pub fn touch_wakeup_force_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 20>
Bit 20 - touch controller force wake up
pub fn ulp_cp_wakeup_force_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 21>
pub fn ulp_cp_wakeup_force_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 21>
Bit 21 - ULP-coprocessor force wake up
pub fn apb2rtc_bridge_sel(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 22>
pub fn apb2rtc_bridge_sel(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 22>
Bit 22 - 1: APB to RTC using bridge 0: APB to RTC using sync
pub fn touch_slp_timer_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 23>
pub fn touch_slp_timer_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 23>
Bit 23 - touch timer enable bit
pub fn ulp_cp_slp_timer_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 24>
pub fn ulp_cp_slp_timer_en(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 24>
Bit 24 - ULP-coprocessor timer enable bit
pub fn slp_wakeup(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 29>
pub fn slp_wakeup(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 29>
Bit 29 - sleep wakeup bit
pub fn slp_reject(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 30>
pub fn slp_reject(
&mut self
) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 30>
Bit 30 - sleep reject bit
pub fn sleep_en(&mut self) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 31>
pub fn sleep_en(&mut self) -> BitWriterRaw<'_, u32, STATE0_SPEC, bool, BitM, 31>
Bit 31 - sleep enable bit
Methods from Deref<Target = W<STATE0_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<STATE0_SPEC>> for W
impl From<W<STATE0_SPEC>> for W
§fn from(writer: W<STATE0_SPEC>) -> W
fn from(writer: W<STATE0_SPEC>) -> W
Converts to this type from the input type.