pub struct Qspi { /* private fields */ }
Expand description
External flash interface
Implementations§
Source§impl Qspi
impl Qspi
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_activate(self) -> Reg<u32, W>
pub const fn tasks_activate(self) -> Reg<u32, W>
Activate QSPI interface
Sourcepub const fn tasks_readstart(self) -> Reg<u32, W>
pub const fn tasks_readstart(self) -> Reg<u32, W>
Start transfer from external flash memory to internal RAM
Sourcepub const fn tasks_writestart(self) -> Reg<u32, W>
pub const fn tasks_writestart(self) -> Reg<u32, W>
Start transfer from internal RAM to external flash memory
Sourcepub const fn tasks_erasestart(self) -> Reg<u32, W>
pub const fn tasks_erasestart(self) -> Reg<u32, W>
Start external flash memory erase operation
Sourcepub const fn tasks_deactivate(self) -> Reg<u32, W>
pub const fn tasks_deactivate(self) -> Reg<u32, W>
Deactivate QSPI interface
Sourcepub const fn events_ready(self) -> Reg<u32, RW>
pub const fn events_ready(self) -> Reg<u32, RW>
QSPI peripheral is ready. This event will be generated as a response to any QSPI task.
Sourcepub const fn enable(self) -> Reg<Enable, RW>
pub const fn enable(self) -> Reg<Enable, RW>
Enable QSPI peripheral and acquire the pins selected in PSELn registers
Sourcepub const fn xipoffset(self) -> Reg<u32, RW>
pub const fn xipoffset(self) -> Reg<u32, RW>
Address offset into the external memory for Execute in Place operation.
Sourcepub const fn dpmdur(self) -> Reg<Dpmdur, RW>
pub const fn dpmdur(self) -> Reg<Dpmdur, RW>
Set the duration required to enter/exit deep power-down mode (DPM).
Sourcepub const fn cinstrconf(self) -> Reg<Cinstrconf, RW>
pub const fn cinstrconf(self) -> Reg<Cinstrconf, RW>
Custom instruction configuration register.
Sourcepub const fn cinstrdat0(self) -> Reg<Cinstrdat0, RW>
pub const fn cinstrdat0(self) -> Reg<Cinstrdat0, RW>
Custom instruction data register 0.
Sourcepub const fn cinstrdat1(self) -> Reg<Cinstrdat1, RW>
pub const fn cinstrdat1(self) -> Reg<Cinstrdat1, RW>
Custom instruction data register 1.
Trait Implementations§
impl Copy for Qspi
impl Eq for Qspi
impl Send for Qspi
impl StructuralPartialEq for Qspi
impl Sync for Qspi
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
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
)