Struct esp32_hal::pac::rtc_cntl::wakeup_state::R
pub struct R(_);
Expand description
Register WAKEUP_STATE
reader
Implementations§
§impl R
impl R
pub fn wakeup_cause(&self) -> FieldReaderRaw<u16, u16>
pub fn wakeup_cause(&self) -> FieldReaderRaw<u16, u16>
Bits 0:10 - wakeup cause
pub fn wakeup_ena(&self) -> FieldReaderRaw<u16, u16>
pub fn wakeup_ena(&self) -> FieldReaderRaw<u16, u16>
Bits 11:21 - wakeup enable bitmap
pub fn gpio_wakeup_filter(&self) -> BitReaderRaw<bool>
pub fn gpio_wakeup_filter(&self) -> BitReaderRaw<bool>
Bit 22 - enable filter for gpio wakeup event
Methods from Deref<Target = R<WAKEUP_STATE_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<WAKEUP_STATE_SPEC>> for R
impl From<R<WAKEUP_STATE_SPEC>> for R
§fn from(reader: R<WAKEUP_STATE_SPEC>) -> R
fn from(reader: R<WAKEUP_STATE_SPEC>) -> R
Converts to this type from the input type.