Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 27 fields pub bcr1: Reg<BCR1_SPEC>, pub btr1: Reg<BTR1_SPEC>, pub bcr2: Reg<BCR2_SPEC>, pub btr2: Reg<BTR2_SPEC>, pub bcr3: Reg<BCR3_SPEC>, pub btr3: Reg<BTR3_SPEC>, pub bcr4: Reg<BCR4_SPEC>, pub btr4: Reg<BTR4_SPEC>, pub pcr2: Reg<PCR2_SPEC>, pub sr2: Reg<SR2_SPEC>, pub pmem2: Reg<PMEM2_SPEC>, pub patt2: Reg<PATT2_SPEC>, pub eccr2: Reg<ECCR2_SPEC>, pub pcr3: Reg<PCR3_SPEC>, pub sr3: Reg<SR3_SPEC>, pub pmem3: Reg<PMEM3_SPEC>, pub patt3: Reg<PATT3_SPEC>, pub eccr3: Reg<ECCR3_SPEC>, pub pcr4: Reg<PCR4_SPEC>, pub sr4: Reg<SR4_SPEC>, pub pmem4: Reg<PMEM4_SPEC>, pub patt4: Reg<PATT4_SPEC>, pub pio4: Reg<PIO4_SPEC>, pub bwtr1: Reg<BWTR1_SPEC>, pub bwtr2: Reg<BWTR2_SPEC>, pub bwtr3: Reg<BWTR3_SPEC>, pub bwtr4: Reg<BWTR4_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§bcr1: Reg<BCR1_SPEC>

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

§btr1: Reg<BTR1_SPEC>

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

§bcr2: Reg<BCR2_SPEC>

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

§btr2: Reg<BTR2_SPEC>

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

§bcr3: Reg<BCR3_SPEC>

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

§btr3: Reg<BTR3_SPEC>

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

§bcr4: Reg<BCR4_SPEC>

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

§btr4: Reg<BTR4_SPEC>

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

§pcr2: Reg<PCR2_SPEC>

0x60 - PC Card/NAND Flash control register 2

§sr2: Reg<SR2_SPEC>

0x64 - FIFO status and interrupt register 2

§pmem2: Reg<PMEM2_SPEC>

0x68 - Common memory space timing register 2

§patt2: Reg<PATT2_SPEC>

0x6c - Attribute memory space timing register 2

§eccr2: Reg<ECCR2_SPEC>

0x74 - ECC result register 2

§pcr3: Reg<PCR3_SPEC>

0x80 - PC Card/NAND Flash control register 3

§sr3: Reg<SR3_SPEC>

0x84 - FIFO status and interrupt register 3

§pmem3: Reg<PMEM3_SPEC>

0x88 - Common memory space timing register 3

§patt3: Reg<PATT3_SPEC>

0x8c - Attribute memory space timing register 3

§eccr3: Reg<ECCR3_SPEC>

0x94 - ECC result register 3

§pcr4: Reg<PCR4_SPEC>

0xa0 - PC Card/NAND Flash control register 4

§sr4: Reg<SR4_SPEC>

0xa4 - FIFO status and interrupt register 4

§pmem4: Reg<PMEM4_SPEC>

0xa8 - Common memory space timing register 4

§patt4: Reg<PATT4_SPEC>

0xac - Attribute memory space timing register 4

§pio4: Reg<PIO4_SPEC>

0xb0 - I/O space timing register 4

§bwtr1: Reg<BWTR1_SPEC>

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

§bwtr2: Reg<BWTR2_SPEC>

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

§bwtr3: Reg<BWTR3_SPEC>

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

§bwtr4: Reg<BWTR4_SPEC>

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

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.