#[repr(transparent)]pub struct Memaddr(pub u32);Expand description
Address to start memory access from (if available).
Tuple Fields§
§0: u32Implementations§
Source§impl Memaddr
impl Memaddr
Sourcepub const fn base(&self) -> u32
pub const fn base(&self) -> u32
Address base to start copying from, word aligned (so bits 1:0 must be 0). This field will advance as it processes the words. If it fails with a bus error, the register will contain the failing word. N:Address in Flash or RAM space; RAM only as mapped in this part. May also be able to address SPIFI.
Sourcepub const fn set_base(&mut self, val: u32)
pub const fn set_base(&mut self, val: u32)
Address base to start copying from, word aligned (so bits 1:0 must be 0). This field will advance as it processes the words. If it fails with a bus error, the register will contain the failing word. N:Address in Flash or RAM space; RAM only as mapped in this part. May also be able to address SPIFI.
Trait Implementations§
impl Copy for Memaddr
impl Eq for Memaddr
impl StructuralPartialEq for Memaddr
Auto Trait Implementations§
impl Freeze for Memaddr
impl RefUnwindSafe for Memaddr
impl Send for Memaddr
impl Sync for Memaddr
impl Unpin for Memaddr
impl UnwindSafe for Memaddr
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