Struct stm32_metapac::syscfg::regs::Memrm
#[repr(transparent)]pub struct Memrm(pub u32);
Expand description
memory remap register
Tuple Fields§
§0: u32
Implementations§
§impl Memrm
impl Memrm
pub fn set_mem_mode(&mut self, val: u8)
pub fn set_mem_mode(&mut self, val: u8)
Memory mapping selection
pub fn set_fb_mode(&mut self, val: bool)
pub fn set_fb_mode(&mut self, val: bool)
Flash bank mode selection
pub fn set_swp_fmc(&mut self, val: u8)
pub fn set_swp_fmc(&mut self, val: u8)
FMC memory mapping swap
Trait Implementations§
impl Copy for Memrm
impl Eq for Memrm
impl StructuralPartialEq for Memrm
Auto Trait Implementations§
impl Freeze for Memrm
impl RefUnwindSafe for Memrm
impl Send for Memrm
impl Sync for Memrm
impl Unpin for Memrm
impl UnwindSafe for Memrm
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
)