[][src]Struct lpc55s6x_pac::flash::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub cmd: CMD,
    pub event: EVENT,
    pub burst: BURST,
    pub starta: STARTA,
    pub stopa: STOPA,
    pub dataw: [DATAW; 8],
    pub int_clr_enable: INT_CLR_ENABLE,
    pub int_set_enable: INT_SET_ENABLE,
    pub int_status: INT_STATUS,
    pub int_enable: INT_ENABLE,
    pub int_clr_status: INT_CLR_STATUS,
    pub int_set_status: INT_SET_STATUS,
    pub module_id: MODULE_ID,
    // some fields omitted
}

Register block

Fields

cmd: CMD

0x00 - command register

event: EVENT

0x04 - event register

burst: BURST

0x08 - read burst register

starta: STARTA

0x10 - start (or only) address for next flash command

stopa: STOPA

0x14 - end address for next flash command, if command operates on address ranges

dataw: [DATAW; 8]

0x80 - data register, word 0-7; Memory data, or command parameter, or command result.

int_clr_enable: INT_CLR_ENABLE

0xfd8 - Clear interrupt enable bits

int_set_enable: INT_SET_ENABLE

0xfdc - Set interrupt enable bits

int_status: INT_STATUS

0xfe0 - Interrupt status bits

int_enable: INT_ENABLE

0xfe4 - Interrupt enable bits

int_clr_status: INT_CLR_STATUS

0xfe8 - Clear interrupt status bits

int_set_status: INT_SET_STATUS

0xfec - Set interrupt status bits

module_id: MODULE_ID

0xffc - Controller+Memory module identification

Auto Trait Implementations

Blanket Implementations

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> From<T> for 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