RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock { pub cmd: Reg<CMD_SPEC>, pub event: Reg<EVENT_SPEC>, pub starta: Reg<STARTA_SPEC>, pub stopa: Reg<STOPA_SPEC>, pub dataw: [Reg<DATAW_SPEC>; 4], pub int_clr_enable: Reg<INT_CLR_ENABLE_SPEC>, pub int_set_enable: Reg<INT_SET_ENABLE_SPEC>, pub int_status: Reg<INT_STATUS_SPEC>, pub int_enable: Reg<INT_ENABLE_SPEC>, pub int_clr_status: Reg<INT_CLR_STATUS_SPEC>, pub int_set_status: Reg<INT_SET_STATUS_SPEC>, pub module_id: Reg<MODULE_ID_SPEC>, /* private fields */ }
Expand description

Register block

Fields§

§cmd: Reg<CMD_SPEC>

0x00 - command register

§event: Reg<EVENT_SPEC>

0x04 - event register

§starta: Reg<STARTA_SPEC>

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

§stopa: Reg<STOPA_SPEC>

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

§dataw: [Reg<DATAW_SPEC>; 4]

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

§int_clr_enable: Reg<INT_CLR_ENABLE_SPEC>

0xfd8 - Clear interrupt enable bits

§int_set_enable: Reg<INT_SET_ENABLE_SPEC>

0xfdc - Set interrupt enable bits

§int_status: Reg<INT_STATUS_SPEC>

0xfe0 - Interrupt status bits

§int_enable: Reg<INT_ENABLE_SPEC>

0xfe4 - Interrupt enable bits

§int_clr_status: Reg<INT_CLR_STATUS_SPEC>

0xfe8 - Clear interrupt status bits

§int_set_status: Reg<INT_SET_STATUS_SPEC>

0xfec - Set interrupt status bits

§module_id: Reg<MODULE_ID_SPEC>

0xffc - Controller+Memory module identification

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.