pub struct Mem { /* private fields */ }
Implementations§
source§impl Mem
impl Mem
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn timing(self) -> Reg<Timing, RW>
pub const fn timing(self) -> Reg<Timing, RW>
Timing configuration register for memory address window 1.
sourcepub const fn rfmt(self) -> Reg<Rfmt, RW>
pub const fn rfmt(self) -> Reg<Rfmt, RW>
Read transfer format configuration for memory address window 1. Configure the bus width of each transfer phase individually, and configure the length or presence of the command prefix, command suffix and dummy/turnaround transfer phases. Only 24-bit addresses are supported. The reset value of the M1_RFMT register is configured to support a basic 03h serial read transfer with no additional configuration.
sourcepub const fn rcmd(self) -> Reg<Rcmd, RW>
pub const fn rcmd(self) -> Reg<Rcmd, RW>
Command constants used for reads from memory address window 1. The reset value of the M1_RCMD register is configured to support a basic 03h serial read transfer with no additional configuration.
sourcepub const fn wfmt(self) -> Reg<Wfmt, RW>
pub const fn wfmt(self) -> Reg<Wfmt, RW>
Write transfer format configuration for memory address window 1. Configure the bus width of each transfer phase individually, and configure the length or presence of the command prefix, command suffix and dummy/turnaround transfer phases. Only 24-bit addresses are supported. The reset value of the M1_WFMT register is configured to support a basic 02h serial write transfer. However, writes to this window must first be enabled via the XIP_CTRL_WRITABLE_M1 bit, as XIP memory is read-only by default.
Trait Implementations§
impl Copy for Mem
impl Eq for Mem
impl Send for Mem
impl StructuralPartialEq for Mem
impl Sync for Mem
Auto Trait Implementations§
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
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)
clone_to_uninit
)