[][src]Struct efm32pg12_pac::msc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    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,
    // some fields omitted
}

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

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self