Struct stm32_metapac::syscfg::regs::Memrmp
#[repr(transparent)]pub struct Memrmp(pub u32);
Expand description
memory remap register
Tuple Fields§
§0: u32
Implementations§
§impl Memrmp
impl Memrmp
pub fn set_mem_boot(&mut self, val: bool)
pub fn set_mem_boot(&mut self, val: bool)
Memory boot mapping
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 Memrmp
impl Eq for Memrmp
impl StructuralPartialEq for Memrmp
Auto Trait Implementations§
impl Freeze for Memrmp
impl RefUnwindSafe for Memrmp
impl Send for Memrmp
impl Sync for Memrmp
impl Unpin for Memrmp
impl UnwindSafe for Memrmp
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
)