Struct esp32_hal::pac::rtc_cntl::wakeup_state::W
pub struct W(_);
Expand description
Register WAKEUP_STATE
writer
Implementations§
§impl W
impl W
pub fn wakeup_ena(
&mut self
) -> FieldWriterRaw<'_, u32, WAKEUP_STATE_SPEC, u16, u16, Unsafe, 11, 11>
pub fn wakeup_ena(
&mut self
) -> FieldWriterRaw<'_, u32, WAKEUP_STATE_SPEC, u16, u16, Unsafe, 11, 11>
Bits 11:21 - wakeup enable bitmap
pub fn gpio_wakeup_filter(
&mut self
) -> BitWriterRaw<'_, u32, WAKEUP_STATE_SPEC, bool, BitM, 22>
pub fn gpio_wakeup_filter(
&mut self
) -> BitWriterRaw<'_, u32, WAKEUP_STATE_SPEC, bool, BitM, 22>
Bit 22 - enable filter for gpio wakeup event
Methods from Deref<Target = W<WAKEUP_STATE_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<WAKEUP_STATE_SPEC>> for W
impl From<W<WAKEUP_STATE_SPEC>> for W
§fn from(writer: W<WAKEUP_STATE_SPEC>) -> W
fn from(writer: W<WAKEUP_STATE_SPEC>) -> W
Converts to this type from the input type.