Struct esp32c3_hal::rtc_cntl::sleep::RtcSleepConfig
source · pub struct RtcSleepConfig(pub u64);
Tuple Fields§
§0: u64
Implementations§
source§impl RtcSleepConfig
impl RtcSleepConfig
sourcepub fn lslp_mem_inf_fpu(&self) -> bool
pub fn lslp_mem_inf_fpu(&self) -> bool
force normal voltage in sleep mode (digital domain memory)
sourcepub fn rtc_mem_inf_follow_cpu(&self) -> bool
pub fn rtc_mem_inf_follow_cpu(&self) -> bool
keep low voltage in sleep mode (even if ULP/touch is used)
sourcepub fn rtc_fastmem_pd_en(&self) -> bool
pub fn rtc_fastmem_pd_en(&self) -> bool
power down RTC fast memory
sourcepub fn rtc_slowmem_pd_en(&self) -> bool
pub fn rtc_slowmem_pd_en(&self) -> bool
power down RTC slow memory
sourcepub fn rtc_peri_pd_en(&self) -> bool
pub fn rtc_peri_pd_en(&self) -> bool
power down RTC peripherals
sourcepub fn wifi_pd_en(&self) -> bool
pub fn wifi_pd_en(&self) -> bool
power down WiFi
sourcepub fn int_8m_pd_en(&self) -> bool
pub fn int_8m_pd_en(&self) -> bool
Power down Internal 8M oscillator
sourcepub fn dig_peri_pd_en(&self) -> bool
pub fn dig_peri_pd_en(&self) -> bool
power down digital peripherals
sourcepub fn wdt_flashboot_mod_en(&self) -> bool
pub fn wdt_flashboot_mod_en(&self) -> bool
enable WDT flashboot mode
sourcepub fn dig_dbias_slp(&self) -> u32
pub fn dig_dbias_slp(&self) -> u32
set bias for digital domain, in sleep mode
sourcepub fn rtc_dbias_slp(&self) -> u32
pub fn rtc_dbias_slp(&self) -> u32
set bias for RTC domain, in sleep mode
sourcepub fn dbg_atten_slp(&self) -> u8
pub fn dbg_atten_slp(&self) -> u8
voltage parameter, in sleep mode
sourcepub fn bias_sleep_monitor(&self) -> bool
pub fn bias_sleep_monitor(&self) -> bool
circuit control parameter, in monitor mode
sourcepub fn bias_sleep_slp(&self) -> bool
pub fn bias_sleep_slp(&self) -> bool
circuit control parameter, in sleep mode
sourcepub fn pd_cur_slp(&self) -> bool
pub fn pd_cur_slp(&self) -> bool
circuit control parameter, in monitor mode
sourcepub fn vddsdio_pd_en(&self) -> bool
pub fn vddsdio_pd_en(&self) -> bool
power down VDDSDIO regulator
sourcepub fn rtc_regulator_fpu(&self) -> bool
pub fn rtc_regulator_fpu(&self) -> bool
keep rtc regulator powered up in sleep
sourcepub fn deep_slp_reject(&self) -> bool
pub fn deep_slp_reject(&self) -> bool
enable deep sleep reject
sourcepub fn light_slp_reject(&self) -> bool
pub fn light_slp_reject(&self) -> bool
enable light sleep reject
sourcepub fn set_lslp_mem_inf_fpu(&mut self, value: bool)
pub fn set_lslp_mem_inf_fpu(&mut self, value: bool)
force normal voltage in sleep mode (digital domain memory)
sourcepub fn set_rtc_mem_inf_follow_cpu(&mut self, value: bool)
pub fn set_rtc_mem_inf_follow_cpu(&mut self, value: bool)
keep low voltage in sleep mode (even if ULP/touch is used)
sourcepub fn set_rtc_fastmem_pd_en(&mut self, value: bool)
pub fn set_rtc_fastmem_pd_en(&mut self, value: bool)
power down RTC fast memory
sourcepub fn set_rtc_slowmem_pd_en(&mut self, value: bool)
pub fn set_rtc_slowmem_pd_en(&mut self, value: bool)
power down RTC slow memory
sourcepub fn set_rtc_peri_pd_en(&mut self, value: bool)
pub fn set_rtc_peri_pd_en(&mut self, value: bool)
power down RTC peripherals
sourcepub fn set_wifi_pd_en(&mut self, value: bool)
pub fn set_wifi_pd_en(&mut self, value: bool)
power down WiFi
sourcepub fn set_bt_pd_en(&mut self, value: bool)
pub fn set_bt_pd_en(&mut self, value: bool)
power down BT
sourcepub fn set_cpu_pd_en(&mut self, value: bool)
pub fn set_cpu_pd_en(&mut self, value: bool)
power down CPU, but not restart when lightsleep.
sourcepub fn set_int_8m_pd_en(&mut self, value: bool)
pub fn set_int_8m_pd_en(&mut self, value: bool)
Power down Internal 8M oscillator
sourcepub fn set_dig_peri_pd_en(&mut self, value: bool)
pub fn set_dig_peri_pd_en(&mut self, value: bool)
power down digital peripherals
sourcepub fn set_deep_slp(&mut self, value: bool)
pub fn set_deep_slp(&mut self, value: bool)
power down digital domain
sourcepub fn set_wdt_flashboot_mod_en(&mut self, value: bool)
pub fn set_wdt_flashboot_mod_en(&mut self, value: bool)
enable WDT flashboot mode
sourcepub fn set_dig_dbias_slp(&mut self, value: u32)
pub fn set_dig_dbias_slp(&mut self, value: u32)
set bias for digital domain, in sleep mode
sourcepub fn set_rtc_dbias_slp(&mut self, value: u32)
pub fn set_rtc_dbias_slp(&mut self, value: u32)
set bias for RTC domain, in sleep mode
sourcepub fn set_dbg_atten_slp(&mut self, value: u8)
pub fn set_dbg_atten_slp(&mut self, value: u8)
voltage parameter, in sleep mode
sourcepub fn set_bias_sleep_monitor(&mut self, value: bool)
pub fn set_bias_sleep_monitor(&mut self, value: bool)
circuit control parameter, in monitor mode
sourcepub fn set_bias_sleep_slp(&mut self, value: bool)
pub fn set_bias_sleep_slp(&mut self, value: bool)
circuit control parameter, in sleep mode
sourcepub fn set_pd_cur_slp(&mut self, value: bool)
pub fn set_pd_cur_slp(&mut self, value: bool)
circuit control parameter, in monitor mode
sourcepub fn set_vddsdio_pd_en(&mut self, value: bool)
pub fn set_vddsdio_pd_en(&mut self, value: bool)
power down VDDSDIO regulator
sourcepub fn set_xtal_fpu(&mut self, value: bool)
pub fn set_xtal_fpu(&mut self, value: bool)
keep main XTAL powered up in sleep
sourcepub fn set_rtc_regulator_fpu(&mut self, value: bool)
pub fn set_rtc_regulator_fpu(&mut self, value: bool)
keep rtc regulator powered up in sleep
sourcepub fn set_deep_slp_reject(&mut self, value: bool)
pub fn set_deep_slp_reject(&mut self, value: bool)
enable deep sleep reject
sourcepub fn set_light_slp_reject(&mut self, value: bool)
pub fn set_light_slp_reject(&mut self, value: bool)
enable light sleep reject
source§impl RtcSleepConfig
impl RtcSleepConfig
pub fn deep() -> RtcSleepConfig
Trait Implementations§
source§impl<T> BitRange<T> for RtcSleepConfigwhere
u64: BitRange<T>,
impl<T> BitRange<T> for RtcSleepConfigwhere u64: BitRange<T>,
source§impl<T> BitRangeMut<T> for RtcSleepConfigwhere
u64: BitRangeMut<T>,
impl<T> BitRangeMut<T> for RtcSleepConfigwhere u64: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
source§impl Clone for RtcSleepConfig
impl Clone for RtcSleepConfig
source§fn clone(&self) -> RtcSleepConfig
fn clone(&self) -> RtcSleepConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more