Struct riot_sys::NRF_QSPI_Type

source ·
#[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

source§

fn clone(&self) -> NRF_QSPI_Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NRF_QSPI_Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for NRF_QSPI_Type

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for NRF_QSPI_Type

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.