RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn bcr1(&self) -> &Reg<BCR1rs>

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

Source

pub const fn btr(&self, n: usize) -> &Reg<BTRrs>

0x04..0x14 - SRAM/NOR-Flash chip-select timing register %s

`n` is the index of register in the array. `n == 0` corresponds to `BTR1` register.
Source

pub fn btr_iter(&self) -> impl Iterator<Item = &Reg<BTRrs>>

Iterator for array of: 0x04..0x14 - SRAM/NOR-Flash chip-select timing register %s

Source

pub const fn btr1(&self) -> &Reg<BTRrs>

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

Source

pub const fn btr2(&self) -> &Reg<BTRrs>

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

Source

pub const fn btr3(&self) -> &Reg<BTRrs>

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

Source

pub const fn btr4(&self) -> &Reg<BTRrs>

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

Source

pub const fn bcr(&self, n: usize) -> &Reg<BCRrs>

0x08..0x14 - SRAM/NOR-Flash chip-select control register %s

`n` is the index of register in the array. `n == 0` corresponds to `BCR2` register.
Source

pub fn bcr_iter(&self) -> impl Iterator<Item = &Reg<BCRrs>>

Iterator for array of: 0x08..0x14 - SRAM/NOR-Flash chip-select control register %s

Source

pub const fn bcr2(&self) -> &Reg<BCRrs>

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

Source

pub const fn bcr3(&self) -> &Reg<BCRrs>

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

Source

pub const fn bcr4(&self) -> &Reg<BCRrs>

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

Source

pub const fn pcr(&self, n: usize) -> &Reg<PCRrs>

0x60..0x6c - PC Card/NAND Flash control register %s

`n` is the index of register in the array. `n == 0` corresponds to `PCR2` register.
Source

pub fn pcr_iter(&self) -> impl Iterator<Item = &Reg<PCRrs>>

Iterator for array of: 0x60..0x6c - PC Card/NAND Flash control register %s

Source

pub const fn pcr2(&self) -> &Reg<PCRrs>

0x60 - PC Card/NAND Flash control register 2

Source

pub const fn pcr3(&self) -> &Reg<PCRrs>

0x80 - PC Card/NAND Flash control register 3

Source

pub const fn pcr4(&self) -> &Reg<PCRrs>

0xa0 - PC Card/NAND Flash control register 4

Source

pub const fn sr(&self, n: usize) -> &Reg<SRrs>

0x64..0x70 - FIFO status and interrupt register %s

`n` is the index of register in the array. `n == 0` corresponds to `SR2` register.
Source

pub fn sr_iter(&self) -> impl Iterator<Item = &Reg<SRrs>>

Iterator for array of: 0x64..0x70 - FIFO status and interrupt register %s

Source

pub const fn sr2(&self) -> &Reg<SRrs>

0x64 - FIFO status and interrupt register 2

Source

pub const fn sr3(&self) -> &Reg<SRrs>

0x84 - FIFO status and interrupt register 3

Source

pub const fn sr4(&self) -> &Reg<SRrs>

0xa4 - FIFO status and interrupt register 4

Source

pub const fn pmem(&self, n: usize) -> &Reg<PMEMrs>

0x68..0x74 - Common memory space timing register %s

`n` is the index of register in the array. `n == 0` corresponds to `PMEM2` register.
Source

pub fn pmem_iter(&self) -> impl Iterator<Item = &Reg<PMEMrs>>

Iterator for array of: 0x68..0x74 - Common memory space timing register %s

Source

pub const fn pmem2(&self) -> &Reg<PMEMrs>

0x68 - Common memory space timing register 2

Source

pub const fn pmem3(&self) -> &Reg<PMEMrs>

0x88 - Common memory space timing register 3

Source

pub const fn pmem4(&self) -> &Reg<PMEMrs>

0xa8 - Common memory space timing register 4

Source

pub const fn patt(&self, n: usize) -> &Reg<PATTrs>

0x6c..0x78 - Attribute memory space timing register %s

`n` is the index of register in the array. `n == 0` corresponds to `PATT2` register.
Source

pub fn patt_iter(&self) -> impl Iterator<Item = &Reg<PATTrs>>

Iterator for array of: 0x6c..0x78 - Attribute memory space timing register %s

Source

pub const fn patt2(&self) -> &Reg<PATTrs>

0x6c - Attribute memory space timing register 2

Source

pub const fn patt3(&self) -> &Reg<PATTrs>

0x8c - Attribute memory space timing register 3

Source

pub const fn patt4(&self) -> &Reg<PATTrs>

0xac - Attribute memory space timing register 4

Source

pub const fn eccr(&self, n: usize) -> &Reg<ECCRrs>

0x74..0x7c - ECC result register %s

`n` is the index of register in the array. `n == 0` corresponds to `ECCR2` register.
Source

pub fn eccr_iter(&self) -> impl Iterator<Item = &Reg<ECCRrs>>

Iterator for array of: 0x74..0x7c - ECC result register %s

Source

pub const fn eccr2(&self) -> &Reg<ECCRrs>

0x74 - ECC result register 2

Source

pub const fn eccr3(&self) -> &Reg<ECCRrs>

0x94 - ECC result register 3

Source

pub const fn pio4(&self) -> &Reg<PIO4rs>

0xb0 - I/O space timing register 4

Source

pub const fn bwtr(&self, n: usize) -> &Reg<BWTRrs>

0x104..0x114 - SRAM/NOR-Flash write timing registers %s

`n` is the index of register in the array. `n == 0` corresponds to `BWTR1` register.
Source

pub fn bwtr_iter(&self) -> impl Iterator<Item = &Reg<BWTRrs>>

Iterator for array of: 0x104..0x114 - SRAM/NOR-Flash write timing registers %s

Source

pub const fn bwtr1(&self) -> &Reg<BWTRrs>

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

Source

pub const fn bwtr2(&self) -> &Reg<BWTRrs>

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

Source

pub const fn bwtr3(&self) -> &Reg<BWTRrs>

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

Source

pub const fn bwtr4(&self) -> &Reg<BWTRrs>

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

Trait Implementations§

Source§

impl Debug for RegisterBlock

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.