Struct esp32c6_hal::rtc_cntl::sleep::PowerDownFlags
source · pub struct PowerDownFlags(pub u32);
Expand description
Power domains to be powered down during sleep
Tuple Fields§
§0: u32
Implementations§
source§impl PowerDownFlags
impl PowerDownFlags
pub fn pd_top(&self) -> bool
pub fn pd_vddsdio(&self) -> bool
pub fn pd_modem(&self) -> bool
pub fn pd_hp_periph(&self) -> bool
pub fn pd_cpu(&self) -> bool
pub fn pd_hp_aon(&self) -> bool
pub fn pd_mem_g0(&self) -> bool
pub fn pd_mem_g1(&self) -> bool
pub fn pd_mem_g2(&self) -> bool
pub fn pd_mem_g3(&self) -> bool
pub fn pd_xtal(&self) -> bool
pub fn pd_rc_fast(&self) -> bool
pub fn pd_xtal32k(&self) -> bool
pub fn pd_rc32k(&self) -> bool
pub fn pd_lp_periph(&self) -> bool
pub fn set_pd_top(&mut self, value: bool)
pub fn set_pd_vddsdio(&mut self, value: bool)
pub fn set_pd_modem(&mut self, value: bool)
pub fn set_pd_hp_periph(&mut self, value: bool)
pub fn set_pd_cpu(&mut self, value: bool)
pub fn set_pd_hp_aon(&mut self, value: bool)
pub fn set_pd_mem_g0(&mut self, value: bool)
pub fn set_pd_mem_g1(&mut self, value: bool)
pub fn set_pd_mem_g2(&mut self, value: bool)
pub fn set_pd_mem_g3(&mut self, value: bool)
pub fn set_pd_xtal(&mut self, value: bool)
pub fn set_pd_rc_fast(&mut self, value: bool)
pub fn set_pd_xtal32k(&mut self, value: bool)
pub fn set_pd_rc32k(&mut self, value: bool)
pub fn set_pd_lp_periph(&mut self, value: bool)
Trait Implementations§
source§impl<T> BitRange<T> for PowerDownFlagswhere
u32: BitRange<T>,
impl<T> BitRange<T> for PowerDownFlagswhere
u32: BitRange<T>,
source§impl<T> BitRangeMut<T> for PowerDownFlagswhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for PowerDownFlagswhere
u32: 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)
Set a range of bits.
source§impl Clone for PowerDownFlags
impl Clone for PowerDownFlags
source§fn clone(&self) -> PowerDownFlags
fn clone(&self) -> PowerDownFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PowerDownFlags
Auto Trait Implementations§
impl RefUnwindSafe for PowerDownFlags
impl Send for PowerDownFlags
impl Sync for PowerDownFlags
impl Unpin for PowerDownFlags
impl UnwindSafe for PowerDownFlags
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more