Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 24 fields pub bcr1: BCR1, pub btr1: BTR1, pub bcr2: BCR2, pub btr2: BTR2, pub bcr3: BCR3, pub btr3: BTR3, pub bcr4: BCR4, pub btr4: BTR4, pub pcr: PCR, pub sr: SR, pub pmem: PMEM, pub patt: PATT, pub eccr: ECCR, pub bwtr1: BWTR1, pub bwtr2: BWTR2, pub bwtr3: BWTR3, pub bwtr4: BWTR4, pub sdcr1: SDCR1, pub sdcr2: SDCR2, pub sdtr1: SDTR1, pub sdtr2: SDTR2, pub sdcmr: SDCMR, pub sdrtr: SDRTR, pub sdsr: SDSR, /* private fields */
}
Expand description

Register block

Fields§

§bcr1: BCR1

0x00 - SRAM/NOR-Flash chip-select control register 1

§btr1: BTR1

0x04 - SRAM/NOR-Flash chip-select timing register 1

§bcr2: BCR2

0x08 - SRAM/NOR-Flash chip-select control register 2

§btr2: BTR2

0x0c - SRAM/NOR-Flash chip-select timing register 2

§bcr3: BCR3

0x10 - SRAM/NOR-Flash chip-select control register 3

§btr3: BTR3

0x14 - SRAM/NOR-Flash chip-select timing register 3

§bcr4: BCR4

0x18 - SRAM/NOR-Flash chip-select control register 4

§btr4: BTR4

0x1c - SRAM/NOR-Flash chip-select timing register 4

§pcr: PCR

0x80 - PC Card/NAND Flash control register 3

§sr: SR

0x84 - FIFO status and interrupt register 3

§pmem: PMEM

0x88 - Common memory space timing register 3

§patt: PATT

0x8c - Attribute memory space timing register 3

§eccr: ECCR

0x94 - ECC result register 3

§bwtr1: BWTR1

0x104 - SRAM/NOR-Flash write timing registers 1

§bwtr2: BWTR2

0x10c - SRAM/NOR-Flash write timing registers 2

§bwtr3: BWTR3

0x114 - SRAM/NOR-Flash write timing registers 3

§bwtr4: BWTR4

0x11c - SRAM/NOR-Flash write timing registers 4

§sdcr1: SDCR1

0x140 - SDRAM Control Register 1

§sdcr2: SDCR2

0x144 - SDRAM Control Register 2

§sdtr1: SDTR1

0x148 - SDRAM Timing register 1

§sdtr2: SDTR2

0x14c - SDRAM Timing register 2

§sdcmr: SDCMR

0x150 - SDRAM Command Mode register

§sdrtr: SDRTR

0x154 - SDRAM Refresh Timer register

§sdsr: SDSR

0x158 - SDRAM Status register

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

Source§

type Output = T

Should always be Self
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.