#[repr(C)]
pub struct RegisterBlock {
Show 26 fields pub fma: FMA, pub fmd: FMD, pub fmc: FMC, pub fcris: FCRIS, pub fcim: FCIM, pub fcmisc: FCMISC, pub fmc2: FMC2, pub fwbval: FWBVAL, pub fwbn: [FWBN; 32], pub fsize: FSIZE, pub ssize: SSIZE, pub romswmap: ROMSWMAP, pub rmctl: RMCTL, pub bootcfg: BOOTCFG, pub userreg0: USERREG0, pub userreg1: USERREG1, pub userreg2: USERREG2, pub userreg3: USERREG3, pub fmpre0: FMPRE0, pub fmpre1: FMPRE1, pub fmpre2: FMPRE2, pub fmpre3: FMPRE3, pub fmppe0: FMPPE0, pub fmppe1: FMPPE1, pub fmppe2: FMPPE2, pub fmppe3: FMPPE3, /* private fields */
}
Expand description

Register block

Fields§

§fma: FMA

0x00 - Flash Memory Address

§fmd: FMD

0x04 - Flash Memory Data

§fmc: FMC

0x08 - Flash Memory Control

§fcris: FCRIS

0x0c - Flash Controller Raw Interrupt Status

§fcim: FCIM

0x10 - Flash Controller Interrupt Mask

§fcmisc: FCMISC

0x14 - Flash Controller Masked Interrupt Status and Clear

§fmc2: FMC2

0x20 - Flash Memory Control 2

§fwbval: FWBVAL

0x30 - Flash Write Buffer Valid

§fwbn: [FWBN; 32]

0x100 - Flash Write Buffer

§fsize: FSIZE

0xfc0 - Flash Size

§ssize: SSIZE

0xfc4 - SRAM Size

§romswmap: ROMSWMAP

0xfcc - ROM Software Map

§rmctl: RMCTL

0x10f0 - ROM Control

§bootcfg: BOOTCFG

0x11d0 - Boot Configuration

§userreg0: USERREG0

0x11e0 - User Register 0

§userreg1: USERREG1

0x11e4 - User Register 1

§userreg2: USERREG2

0x11e8 - User Register 2

§userreg3: USERREG3

0x11ec - User Register 3

§fmpre0: FMPRE0

0x1200 - Flash Memory Protection Read Enable 0

§fmpre1: FMPRE1

0x1204 - Flash Memory Protection Read Enable 1

§fmpre2: FMPRE2

0x1208 - Flash Memory Protection Read Enable 2

§fmpre3: FMPRE3

0x120c - Flash Memory Protection Read Enable 3

§fmppe0: FMPPE0

0x1400 - Flash Memory Protection Program Enable 0

§fmppe1: FMPPE1

0x1404 - Flash Memory Protection Program Enable 1

§fmppe2: FMPPE2

0x1408 - Flash Memory Protection Program Enable 2

§fmppe3: FMPPE3

0x140c - Flash Memory Protection Program Enable 3

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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.