Enum stm32wlxx_hal::pac::syscfg::memrmp::MEM_MODE_A
#[repr(u8)]pub enum MEM_MODE_A {
MainFlash = 0,
SystemFlash = 1,
Sram = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Memory mapping selection
Value on reset: 0
Variants§
MainFlash = 0
0: Main Flash memory mapped at 0x0000_0000
SystemFlash = 1
1: System Flash memory mapped at 0x0000_0000
Sram = 3
3: Embedded SRAM mapped at 0x0000_0000
Trait Implementations§
§impl Clone for MEM_MODE_A
impl Clone for MEM_MODE_A
§fn clone(&self) -> MEM_MODE_A
fn clone(&self) -> MEM_MODE_A
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 MEM_MODE_A
impl Debug for MEM_MODE_A
§impl PartialEq for MEM_MODE_A
impl PartialEq for MEM_MODE_A
§fn eq(&self, other: &MEM_MODE_A) -> bool
fn eq(&self, other: &MEM_MODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MEM_MODE_A
impl StructuralPartialEq for MEM_MODE_A
Auto Trait Implementations§
impl RefUnwindSafe for MEM_MODE_A
impl Send for MEM_MODE_A
impl Sync for MEM_MODE_A
impl Unpin for MEM_MODE_A
impl UnwindSafe for MEM_MODE_A
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