Struct esp32c2_hal::pac::rtc_cntl::low_power_st::R
pub struct R(_);
Expand description
Register LOW_POWER_ST
reader
Implementations
impl R
impl R
pub fn touch_state_start(&self) -> BitReaderRaw<bool>
pub fn touch_state_start(&self) -> BitReaderRaw<bool>
Bit 9 - touch should start to work
pub fn touch_state_switch(&self) -> BitReaderRaw<bool>
pub fn touch_state_switch(&self) -> BitReaderRaw<bool>
Bit 10 - touch is about to working. Switch rtc main state
pub fn touch_state_slp(&self) -> BitReaderRaw<bool>
pub fn touch_state_slp(&self) -> BitReaderRaw<bool>
Bit 11 - touch is in sleep state
pub fn touch_state_done(&self) -> BitReaderRaw<bool>
pub fn touch_state_done(&self) -> BitReaderRaw<bool>
Bit 12 - touch is done
pub fn cocpu_state_start(&self) -> BitReaderRaw<bool>
pub fn cocpu_state_start(&self) -> BitReaderRaw<bool>
Bit 13 - ulp/cocpu should start to work
pub fn cocpu_state_switch(&self) -> BitReaderRaw<bool>
pub fn cocpu_state_switch(&self) -> BitReaderRaw<bool>
Bit 14 - ulp/cocpu is about to working. Switch rtc main state
pub fn cocpu_state_slp(&self) -> BitReaderRaw<bool>
pub fn cocpu_state_slp(&self) -> BitReaderRaw<bool>
Bit 15 - ulp/cocpu is in sleep state
pub fn cocpu_state_done(&self) -> BitReaderRaw<bool>
pub fn cocpu_state_done(&self) -> BitReaderRaw<bool>
Bit 16 - ulp/cocpu is done
pub fn main_state_xtal_iso(&self) -> BitReaderRaw<bool>
pub fn main_state_xtal_iso(&self) -> BitReaderRaw<bool>
Bit 17 - no use any more
pub fn main_state_pll_on(&self) -> BitReaderRaw<bool>
pub fn main_state_pll_on(&self) -> BitReaderRaw<bool>
Bit 18 - rtc main state machine is in states that pll should be running
pub fn rdy_for_wakeup(&self) -> BitReaderRaw<bool>
pub fn rdy_for_wakeup(&self) -> BitReaderRaw<bool>
Bit 19 - rtc is ready to receive wake up trigger from wake up source
pub fn main_state_wait_end(&self) -> BitReaderRaw<bool>
pub fn main_state_wait_end(&self) -> BitReaderRaw<bool>
Bit 20 - rtc main state machine has been waited for some cycles
pub fn in_wakeup_state(&self) -> BitReaderRaw<bool>
pub fn in_wakeup_state(&self) -> BitReaderRaw<bool>
Bit 21 - rtc main state machine is in the states of wakeup process
pub fn in_low_power_state(&self) -> BitReaderRaw<bool>
pub fn in_low_power_state(&self) -> BitReaderRaw<bool>
Bit 22 - rtc main state machine is in the states of low power
pub fn main_state_in_wait_8m(&self) -> BitReaderRaw<bool>
pub fn main_state_in_wait_8m(&self) -> BitReaderRaw<bool>
Bit 23 - rtc main state machine is in wait 8m state
pub fn main_state_in_wait_pll(&self) -> BitReaderRaw<bool>
pub fn main_state_in_wait_pll(&self) -> BitReaderRaw<bool>
Bit 24 - rtc main state machine is in wait pll state
pub fn main_state_in_wait_xtl(&self) -> BitReaderRaw<bool>
pub fn main_state_in_wait_xtl(&self) -> BitReaderRaw<bool>
Bit 25 - rtc main state machine is in wait xtal state
pub fn main_state_in_slp(&self) -> BitReaderRaw<bool>
pub fn main_state_in_slp(&self) -> BitReaderRaw<bool>
Bit 26 - rtc main state machine is in sleep state
pub fn main_state_in_idle(&self) -> BitReaderRaw<bool>
pub fn main_state_in_idle(&self) -> BitReaderRaw<bool>
Bit 27 - rtc main state machine is in idle state
pub fn main_state(&self) -> FieldReaderRaw<u8, u8>
pub fn main_state(&self) -> FieldReaderRaw<u8, u8>
Bits 28:31 - rtc main state machine status
Methods from Deref<Target = R<LOW_POWER_ST_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.