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
impl Copy for MemMode
impl Eq for MemMode
impl StructuralPartialEq for MemMode
Auto Trait Implementations§
impl Freeze for MemMode
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
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
)