pub struct PowerDownFlags(pub u32);unstable only.Expand description
Power domains to be powered down during sleep
Tuple Fields§
§0: u32Implementations§
Source§impl PowerDownFlags
impl PowerDownFlags
Sourcepub fn pd_vddsdio(&self) -> bool
pub fn pd_vddsdio(&self) -> bool
Controls the power-down status of the VDD_SDIO power domain.
Sourcepub fn pd_hp_periph(&self) -> bool
pub fn pd_hp_periph(&self) -> bool
Controls the power-down status of the high-performance peripheral power domain.
Sourcepub fn pd_hp_aon(&self) -> bool
pub fn pd_hp_aon(&self) -> bool
Controls the power-down status of the high-performance always-on domain.
Sourcepub fn pd_rc_fast(&self) -> bool
pub fn pd_rc_fast(&self) -> bool
Controls the power-down status of the fast RC oscillator.
Sourcepub fn pd_xtal32k(&self) -> bool
pub fn pd_xtal32k(&self) -> bool
Controls the power-down status of the 32kHz crystal oscillator.
Sourcepub fn pd_lp_periph(&self) -> bool
pub fn pd_lp_periph(&self) -> bool
Controls the power-down status of the low-power peripheral domain.
Sourcepub fn set_pd_top(&mut self, value: bool)
pub fn set_pd_top(&mut self, value: bool)
Controls the power-down status of the top power domain.
Sourcepub fn set_pd_vddsdio(&mut self, value: bool)
pub fn set_pd_vddsdio(&mut self, value: bool)
Controls the power-down status of the VDD_SDIO power domain.
Sourcepub fn set_pd_modem(&mut self, value: bool)
pub fn set_pd_modem(&mut self, value: bool)
Controls the power-down status of the modem power domain.
Sourcepub fn set_pd_hp_periph(&mut self, value: bool)
pub fn set_pd_hp_periph(&mut self, value: bool)
Controls the power-down status of the high-performance peripheral power domain.
Sourcepub fn set_pd_cpu(&mut self, value: bool)
pub fn set_pd_cpu(&mut self, value: bool)
Controls the power-down status of the CPU power domain.
Sourcepub fn set_pd_hp_aon(&mut self, value: bool)
pub fn set_pd_hp_aon(&mut self, value: bool)
Controls the power-down status of the high-performance always-on domain.
Sourcepub fn set_pd_mem_g0(&mut self, value: bool)
pub fn set_pd_mem_g0(&mut self, value: bool)
Controls the power-down status of memory group 0.
Sourcepub fn set_pd_mem_g1(&mut self, value: bool)
pub fn set_pd_mem_g1(&mut self, value: bool)
Controls the power-down status of memory group 1.
Sourcepub fn set_pd_mem_g2(&mut self, value: bool)
pub fn set_pd_mem_g2(&mut self, value: bool)
Controls the power-down status of memory group 2.
Sourcepub fn set_pd_mem_g3(&mut self, value: bool)
pub fn set_pd_mem_g3(&mut self, value: bool)
Controls the power-down status of memory group 3.
Sourcepub fn set_pd_xtal(&mut self, value: bool)
pub fn set_pd_xtal(&mut self, value: bool)
Controls the power-down status of the crystal oscillator.
Sourcepub fn set_pd_rc_fast(&mut self, value: bool)
pub fn set_pd_rc_fast(&mut self, value: bool)
Controls the power-down status of the fast RC oscillator.
Sourcepub fn set_pd_xtal32k(&mut self, value: bool)
pub fn set_pd_xtal32k(&mut self, value: bool)
Controls the power-down status of the 32kHz crystal oscillator.
Sourcepub fn set_pd_rc32k(&mut self, value: bool)
pub fn set_pd_rc32k(&mut self, value: bool)
Controls the power-down status of the 32kHz RC oscillator.
Sourcepub fn set_pd_lp_periph(&mut self, value: bool)
pub fn set_pd_lp_periph(&mut self, value: bool)
Controls the power-down status of the low-power peripheral domain.
Trait Implementations§
Source§impl<T> BitRange<T> for PowerDownFlags
impl<T> BitRange<T> for PowerDownFlags
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)
Source§impl Clone for PowerDownFlags
impl Clone for PowerDownFlags
Source§fn clone(&self) -> PowerDownFlags
fn clone(&self) -> PowerDownFlags
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more