riot_sys

Struct 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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>,

Source§

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>,

Source§

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.

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