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.