[][src]Struct ADuCM302x::flcc0::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub stat: STAT,
    pub ien: IEN,
    pub cmd: CMD,
    pub kh_addr: KH_ADDR,
    pub kh_data0: KH_DATA0,
    pub kh_data1: KH_DATA1,
    pub page_addr0: PAGE_ADDR0,
    pub page_addr1: PAGE_ADDR1,
    pub key: KEY,
    pub wr_abort_addr: WR_ABORT_ADDR,
    pub wrprot: WRPROT,
    pub signature: SIGNATURE,
    pub ucfg: UCFG,
    pub time_param0: TIME_PARAM0,
    pub time_param1: TIME_PARAM1,
    pub abort_en_lo: ABORT_EN_LO,
    pub abort_en_hi: ABORT_EN_HI,
    pub ecc_cfg: ECC_CFG,
    pub ecc_addr: ECC_ADDR,
    pub por_sec: POR_SEC,
    pub vol_cfg: VOL_CFG,
    // some fields omitted
}

Register block

Fields

stat: STAT

0x00 - Status

ien: IEN

0x04 - Interrupt Enable

cmd: CMD

0x08 - Command

kh_addr: KH_ADDR

0x0c - Write Address

kh_data0: KH_DATA0

0x10 - Write Lower Data

kh_data1: KH_DATA1

0x14 - Write Upper Data

page_addr0: PAGE_ADDR0

0x18 - Lower Page Address

page_addr1: PAGE_ADDR1

0x1c - Upper Page Address

key: KEY

0x20 - Key

wr_abort_addr: WR_ABORT_ADDR

0x24 - Write Abort Address

wrprot: WRPROT

0x28 - Write Protection

signature: SIGNATURE

0x2c - Signature

ucfg: UCFG

0x30 - User Configuration

time_param0: TIME_PARAM0

0x34 - Time Parameter 0

time_param1: TIME_PARAM1

0x38 - Time Parameter 1

abort_en_lo: ABORT_EN_LO

0x3c - IRQ Abort Enable (Lower Bits)

abort_en_hi: ABORT_EN_HI

0x40 - IRQ Abort Enable (Upper Bits)

ecc_cfg: ECC_CFG

0x44 - ECC Configuration

ecc_addr: ECC_ADDR

0x48 - ECC Status (Address)

por_sec: POR_SEC

0x50 - Flash Security

vol_cfg: VOL_CFG

0x54 - Volatile Flash Configuration

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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