#[repr(C)]pub struct NRF_QSPI_Type {Show 31 fields
pub TASKS_ACTIVATE: u32,
pub TASKS_READSTART: u32,
pub TASKS_WRITESTART: u32,
pub TASKS_ERASESTART: u32,
pub TASKS_DEACTIVATE: u32,
pub RESERVED: [u32; 59],
pub EVENTS_READY: u32,
pub RESERVED1: [u32; 127],
pub INTEN: u32,
pub INTENSET: u32,
pub INTENCLR: u32,
pub RESERVED2: [u32; 125],
pub ENABLE: u32,
pub READ: QSPI_READ_Type,
pub WRITE: QSPI_WRITE_Type,
pub ERASE: QSPI_ERASE_Type,
pub PSEL: QSPI_PSEL_Type,
pub XIPOFFSET: u32,
pub IFCONFIG0: u32,
pub RESERVED3: [u32; 46],
pub IFCONFIG1: u32,
pub STATUS: u32,
pub RESERVED4: [u32; 3],
pub DPMDUR: u32,
pub RESERVED5: [u32; 3],
pub ADDRCONF: u32,
pub RESERVED6: [u32; 3],
pub CINSTRCONF: u32,
pub CINSTRDAT0: u32,
pub CINSTRDAT1: u32,
pub IFTIMING: u32,
}
Expand description
@brief External flash interface (QSPI)
Fields§
§TASKS_ACTIVATE: u32
< (@ 0x00000000) Activate QSPI interface
TASKS_READSTART: u32
< (@ 0x00000004) Start transfer from external flash memory to internal RAM
TASKS_WRITESTART: u32
< (@ 0x00000008) Start transfer from internal RAM to external flash memory
TASKS_ERASESTART: u32
< (@ 0x0000000C) Start external flash memory erase operation
TASKS_DEACTIVATE: u32
< (@ 0x00000010) Deactivate QSPI interface
RESERVED: [u32; 59]
§EVENTS_READY: u32
< (@ 0x00000100) QSPI peripheral is ready. This event will be generated as a response to any QSPI task.
RESERVED1: [u32; 127]
§INTEN: u32
< (@ 0x00000300) Enable or disable interrupt
INTENSET: u32
< (@ 0x00000304) Enable interrupt
INTENCLR: u32
< (@ 0x00000308) Disable interrupt
RESERVED2: [u32; 125]
§ENABLE: u32
< (@ 0x00000500) Enable QSPI peripheral and acquire the pins selected in PSELn registers
READ: QSPI_READ_Type
< (@ 0x00000504) Unspecified
WRITE: QSPI_WRITE_Type
< (@ 0x00000510) Unspecified
ERASE: QSPI_ERASE_Type
< (@ 0x0000051C) Unspecified
PSEL: QSPI_PSEL_Type
< (@ 0x00000524) Unspecified
XIPOFFSET: u32
< (@ 0x00000540) Address offset into the external memory for Execute in Place operation.
IFCONFIG0: u32
< (@ 0x00000544) Interface configuration.
RESERVED3: [u32; 46]
§IFCONFIG1: u32
< (@ 0x00000600) Interface configuration.
STATUS: u32
< (@ 0x00000604) Status register.
RESERVED4: [u32; 3]
§DPMDUR: u32
< (@ 0x00000614) Set the duration required to enter/exit deep power-down mode (DPM).
RESERVED5: [u32; 3]
§ADDRCONF: u32
< (@ 0x00000624) Extended address configuration.
RESERVED6: [u32; 3]
§CINSTRCONF: u32
< (@ 0x00000634) Custom instruction configuration register.
CINSTRDAT0: u32
< (@ 0x00000638) Custom instruction data register 0.
CINSTRDAT1: u32
< (@ 0x0000063C) Custom instruction data register 1.
IFTIMING: u32
< (@ 0x00000640) SPI interface timing.
Trait Implementations§
Source§impl Clone for NRF_QSPI_Type
impl Clone for NRF_QSPI_Type
Source§fn clone(&self) -> NRF_QSPI_Type
fn clone(&self) -> NRF_QSPI_Type
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for NRF_QSPI_Type
impl Debug for NRF_QSPI_Type
Source§impl Default for NRF_QSPI_Type
impl Default for NRF_QSPI_Type
impl Copy for NRF_QSPI_Type
Auto Trait Implementations§
impl Freeze for NRF_QSPI_Type
impl RefUnwindSafe for NRF_QSPI_Type
impl Send for NRF_QSPI_Type
impl Sync for NRF_QSPI_Type
impl Unpin for NRF_QSPI_Type
impl UnwindSafe for NRF_QSPI_Type
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1604 bytes