Enum stm32_metapac::syscfg::vals::MemMode
#[repr(u8)]pub enum MemMode {
MAINFLASH = 0,
SYSTEMFLASH = 1,
FSMC = 2,
SRAM = 3,
}
Variants§
MAINFLASH = 0
Main Flash memory mapped at 0x0000_0000
SYSTEMFLASH = 1
System Flash memory mapped at 0x0000_0000
FSMC = 2
FSMC Bank1 (NOR/PSRAM 1 and 2) mapped at 0x0000_0000
SRAM = 3
Embedded SRAM mapped at 0x0000_0000
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
)