Enum stm32_metapac::syscfg::vals::MemMode
#[repr(u8)]pub enum MemMode {
MAIN_FLASH = 0,
SYSTEM_FLASH = 1,
MAIN_FLASH_ALT = 2,
SRAM = 3,
}
Variants§
MAIN_FLASH = 0
Main Flash memory mapped at address 0
SYSTEM_FLASH = 1
System Flash memory mapped at address 0
MAIN_FLASH_ALT = 2
Main Flash memory mapped at address 0 (alternate encoding)
SRAM = 3
Embedded SRAM mapped at address 0
Implementations§
Trait Implementations§
§impl Ord for MemMode
impl Ord for MemMode
§impl PartialOrd for MemMode
impl PartialOrd for MemMode
§fn partial_cmp(&self, other: &MemMode) -> Option<Ordering>
fn partial_cmp(&self, other: &MemMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MemMode
impl Eq for MemMode
impl StructuralEq for MemMode
impl StructuralPartialEq for MemMode
Auto Trait Implementations§
impl RefUnwindSafe for MemMode
impl Send for MemMode
impl Sync for MemMode
impl Unpin for MemMode
impl UnwindSafe for MemMode
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