#[non_exhaustive]pub struct VddPowerConfig {
pub active_mode: VddModeConfig,
pub low_power_mode: VddModeConfig,
pub core_sleep: CoreSleep,
pub flash_sleep: FlashSleep,
}Expand description
Power control options for the VDD domain, including the CPU and flash memory
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.active_mode: VddModeConfigActive power mode, used when not in Deep Sleep
low_power_mode: VddModeConfigLow power mode, used when in Deep Sleep
core_sleep: CoreSleepCPU core clock gating settings
flash_sleep: FlashSleepInternal flash clock gating settings
Trait Implementations§
Source§impl Clone for VddPowerConfig
impl Clone for VddPowerConfig
Source§fn clone(&self) -> VddPowerConfig
fn clone(&self) -> VddPowerConfig
Returns a duplicate 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 VddPowerConfig
Auto Trait Implementations§
impl Freeze for VddPowerConfig
impl RefUnwindSafe for VddPowerConfig
impl Send for VddPowerConfig
impl Sync for VddPowerConfig
impl Unpin for VddPowerConfig
impl UnwindSafe for VddPowerConfig
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