#[repr(C)]
pub struct RegisterBlock {
Show 26 fields pub ctrl: CTRL, pub readctrl: READCTRL, pub writectrl: WRITECTRL, pub writecmd: WRITECMD, pub addrb: ADDRB, pub wdata: WDATA, pub status: STATUS, pub if_: IF, pub ifs: IFS, pub ifc: IFC, pub ien: IEN, pub lock: LOCK, pub cachecmd: CACHECMD, pub cachehits: CACHEHITS, pub cachemisses: CACHEMISSES, pub masslock: MASSLOCK, pub startup: STARTUP, pub bankswitchlock: BANKSWITCHLOCK, pub cmd: CMD, pub bootloaderctrl: BOOTLOADERCTRL, pub aapunlockcmd: AAPUNLOCKCMD, pub cacheconfig0: CACHECONFIG0, pub ramctrl: RAMCTRL, pub eccctrl: ECCCTRL, pub rameccaddr: RAMECCADDR, pub ram1eccaddr: RAM1ECCADDR, /* private fields */
}
Expand description

Register block

Fields§

§ctrl: CTRL

0x00 - Memory System Control Register

§readctrl: READCTRL

0x04 - Read Control Register

§writectrl: WRITECTRL

0x08 - Write Control Register

§writecmd: WRITECMD

0x0c - Write Command Register

§addrb: ADDRB

0x10 - Page Erase/Write Address Buffer

§wdata: WDATA

0x18 - Write Data Register

§status: STATUS

0x1c - Status Register

§if_: IF

0x30 - Interrupt Flag Register

§ifs: IFS

0x34 - Interrupt Flag Set Register

§ifc: IFC

0x38 - Interrupt Flag Clear Register

§ien: IEN

0x3c - Interrupt Enable Register

§lock: LOCK

0x40 - Configuration Lock Register

§cachecmd: CACHECMD

0x44 - Flash Cache Command Register

§cachehits: CACHEHITS

0x48 - Cache Hits Performance Counter

§cachemisses: CACHEMISSES

0x4c - Cache Misses Performance Counter

§masslock: MASSLOCK

0x54 - Mass Erase Lock Register

§startup: STARTUP

0x5c - Startup Control

§bankswitchlock: BANKSWITCHLOCK

0x70 - Bank Switching Lock Register

§cmd: CMD

0x74 - Command Register

§bootloaderctrl: BOOTLOADERCTRL

0x90 - Bootloader Read and Write Enable, Write Once Register

§aapunlockcmd: AAPUNLOCKCMD

0x94 - Software Unlock AAP Command Register

§cacheconfig0: CACHECONFIG0

0x98 - Cache Configuration Register 0

§ramctrl: RAMCTRL

0x100 - RAM Control Enable Register

§eccctrl: ECCCTRL

0x104 - RAM ECC Control Register

§rameccaddr: RAMECCADDR

0x108 - RAM ECC Error Address Register

§ram1eccaddr: RAM1ECCADDR

0x10c - RAM1 ECC Error Address Register

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.