Struct PowerConfig
#[repr(transparent)]pub struct PowerConfig(pub u32);
Expand description
Power configuration
Tuple Fields§
§0: u32
Implementations§
§impl PowerConfig
impl PowerConfig
pub const fn accesstimeout(&self) -> u16
pub const fn accesstimeout(&self) -> u16
Access timeout, in 31.25 ns units, used for going into standby power mode or remain active on wake up
pub fn set_accesstimeout(&mut self, val: u16)
pub fn set_accesstimeout(&mut self, val: u16)
Access timeout, in 31.25 ns units, used for going into standby power mode or remain active on wake up
Trait Implementations§
§impl Clone for PowerConfig
impl Clone for PowerConfig
§fn clone(&self) -> PowerConfig
fn clone(&self) -> PowerConfig
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 more§impl Default for PowerConfig
impl Default for PowerConfig
§fn default() -> PowerConfig
fn default() -> PowerConfig
Returns the “default value” for a type. Read more
§impl PartialEq for PowerConfig
impl PartialEq for PowerConfig
impl Copy for PowerConfig
impl Eq for PowerConfig
impl StructuralPartialEq for PowerConfig
Auto Trait Implementations§
impl Freeze for PowerConfig
impl RefUnwindSafe for PowerConfig
impl Send for PowerConfig
impl Sync for PowerConfig
impl Unpin for PowerConfig
impl UnwindSafe for PowerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)