Enum stm32_metapac::pwr::vals::Sram1pds567
#[repr(u8)]pub enum Sram1pds567 {
POWERED_ON = 0,
POWERED_OFF = 1,
}
Variants§
POWERED_ON = 0
SRAM1 192KB, page 5 to 7 content retained in Stop modes
POWERED_OFF = 1
SRAM1 192KB, page 5 to 7 content lost in Stop modes
Implementations§
§impl Sram1pds567
impl Sram1pds567
pub const fn from_bits(val: u8) -> Sram1pds567
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Sram1pds567
impl Clone for Sram1pds567
§fn clone(&self) -> Sram1pds567
fn clone(&self) -> Sram1pds567
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 Debug for Sram1pds567
impl Debug for Sram1pds567
§impl From<Sram1pds567> for u8
impl From<Sram1pds567> for u8
§fn from(val: Sram1pds567) -> u8
fn from(val: Sram1pds567) -> u8
Converts to this type from the input type.
§impl From<u8> for Sram1pds567
impl From<u8> for Sram1pds567
§fn from(val: u8) -> Sram1pds567
fn from(val: u8) -> Sram1pds567
Converts to this type from the input type.
§impl Ord for Sram1pds567
impl Ord for Sram1pds567
§impl PartialEq for Sram1pds567
impl PartialEq for Sram1pds567
§impl PartialOrd for Sram1pds567
impl PartialOrd for Sram1pds567
impl Copy for Sram1pds567
impl Eq for Sram1pds567
impl StructuralPartialEq for Sram1pds567
Auto Trait Implementations§
impl Freeze for Sram1pds567
impl RefUnwindSafe for Sram1pds567
impl Send for Sram1pds567
impl Sync for Sram1pds567
impl Unpin for Sram1pds567
impl UnwindSafe for Sram1pds567
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
)