[][src]Struct nrf52840_hal::target::qspi::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub tasks_activate: TASKS_ACTIVATE, pub tasks_readstart: TASKS_READSTART, pub tasks_writestart: TASKS_WRITESTART, pub tasks_erasestart: TASKS_ERASESTART, pub tasks_deactivate: TASKS_DEACTIVATE, pub events_ready: EVENTS_READY, pub inten: INTEN, pub intenset: INTENSET, pub intenclr: INTENCLR, pub enable: ENABLE, pub read: READ, pub write: WRITE, pub erase: ERASE, pub psel: PSEL, pub xipoffset: XIPOFFSET, pub ifconfig0: IFCONFIG0, pub ifconfig1: IFCONFIG1, pub status: STATUS, pub dpmdur: DPMDUR, pub addrconf: ADDRCONF, pub cinstrconf: CINSTRCONF, pub cinstrdat0: CINSTRDAT0, pub cinstrdat1: CINSTRDAT1, pub iftiming: IFTIMING, // some fields omitted }

Register block

Fields

tasks_activate: TASKS_ACTIVATE

0x00 - Activate QSPI interface

tasks_readstart: TASKS_READSTART

0x04 - Start transfer from external flash memory to internal RAM

tasks_writestart: TASKS_WRITESTART

0x08 - Start transfer from internal RAM to external flash memory

tasks_erasestart: TASKS_ERASESTART

0x0c - Start external flash memory erase operation

tasks_deactivate: TASKS_DEACTIVATE

0x10 - Deactivate QSPI interface

events_ready: EVENTS_READY

0x100 - QSPI peripheral is ready. This event will be generated as a response to any QSPI task.

inten: INTEN

0x300 - Enable or disable interrupt

intenset: INTENSET

0x304 - Enable interrupt

intenclr: INTENCLR

0x308 - Disable interrupt

enable: ENABLE

0x500 - Enable QSPI peripheral and acquire the pins selected in PSELn registers

read: READ

0x504 - Unspecified

write: WRITE

0x510 - Unspecified

erase: ERASE

0x51c - Unspecified

psel: PSEL

0x524 - Unspecified

xipoffset: XIPOFFSET

0x540 - Address offset into the external memory for Execute in Place operation.

ifconfig0: IFCONFIG0

0x544 - Interface configuration.

ifconfig1: IFCONFIG1

0x600 - Interface configuration.

status: STATUS

0x604 - Status register.

dpmdur: DPMDUR

0x614 - Set the duration required to enter/exit deep power-down mode (DPM).

addrconf: ADDRCONF

0x624 - Extended address configuration.

cinstrconf: CINSTRCONF

0x634 - Custom instruction configuration register.

cinstrdat0: CINSTRDAT0

0x638 - Custom instruction data register 0.

cinstrdat1: CINSTRDAT1

0x63c - Custom instruction data register 1.

iftiming: IFTIMING

0x640 - SPI interface timing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self