Enum LowpowerconfigMode
#[repr(u8)]pub enum LowpowerconfigMode {
PowerOff = 0,
Standby = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}Variants§
PowerOff = 0
The RRAM is powered Off.
Standby = 1
The RRAM automatically goes into standby mode while the RRAM is not being accessed.
_RESERVED_2 = 2
_RESERVED_3 = 3
Implementations§
§impl LowpowerconfigMode
impl LowpowerconfigMode
pub const fn from_bits(val: u8) -> LowpowerconfigMode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for LowpowerconfigMode
impl Clone for LowpowerconfigMode
§fn clone(&self) -> LowpowerconfigMode
fn clone(&self) -> LowpowerconfigMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LowpowerconfigMode
impl Eq for LowpowerconfigMode
§impl From<u8> for LowpowerconfigMode
impl From<u8> for LowpowerconfigMode
§fn from(val: u8) -> LowpowerconfigMode
fn from(val: u8) -> LowpowerconfigMode
Converts to this type from the input type.
§impl Ord for LowpowerconfigMode
impl Ord for LowpowerconfigMode
§fn cmp(&self, other: &LowpowerconfigMode) -> Ordering
fn cmp(&self, other: &LowpowerconfigMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for LowpowerconfigMode
impl PartialEq for LowpowerconfigMode
§impl PartialOrd for LowpowerconfigMode
impl PartialOrd for LowpowerconfigMode
impl StructuralPartialEq for LowpowerconfigMode
Auto Trait Implementations§
impl Forget for LowpowerconfigMode
impl Freeze for LowpowerconfigMode
impl Move for LowpowerconfigMode
impl RefUnwindSafe for LowpowerconfigMode
impl Send for LowpowerconfigMode
impl Sync for LowpowerconfigMode
impl Unpin for LowpowerconfigMode
impl UnsafeUnpin for LowpowerconfigMode
impl UnwindSafe for LowpowerconfigMode
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