RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 28 fields pub cfg: CFG, pub baud: BAUD, pub baud2: BAUD2, pub addrmap: ADDRMAP, pub rsize0: RSIZE0, pub raddr0: RADDR0, pub rpstd0: RPSTD0, pub rsize1: RSIZE1, pub raddr1: RADDR1, pub rpstd1: RPSTD1, pub stat: STAT, pub rfifocnt: RFIFOCNT, pub readfifo0: READFIFO0, pub readfifo1: READFIFO1, pub readfifo2: READFIFO2, pub readfifo3: READFIFO3, pub readfifo4: READFIFO4, pub readfifo5: READFIFO5, pub readfifo6: READFIFO6, pub readfifo7: READFIFO7, pub fifolvl: FIFOLVL, pub wfifocnt: WFIFOCNT, pub dmatxcnt: DMATXCNT, pub im: IM, pub ris: RIS, pub mis: MIS, pub eisc: EISC, pub hbpsram: HBPSRAM, /* private fields */
}
Expand description

Register block

Fields§

§cfg: CFG

0x00 - EPI Configuration

§baud: BAUD

0x04 - EPI Main Baud Rate

§baud2: BAUD2

0x08 - EPI Main Baud Rate

§addrmap: ADDRMAP

0x1c - EPI Address Map

§rsize0: RSIZE0

0x20 - EPI Read Size 0

§raddr0: RADDR0

0x24 - EPI Read Address 0

§rpstd0: RPSTD0

0x28 - EPI Non-Blocking Read Data 0

§rsize1: RSIZE1

0x30 - EPI Read Size 1

§raddr1: RADDR1

0x34 - EPI Read Address 1

§rpstd1: RPSTD1

0x38 - EPI Non-Blocking Read Data 1

§stat: STAT

0x60 - EPI Status

§rfifocnt: RFIFOCNT

0x6c - EPI Read FIFO Count

§readfifo0: READFIFO0

0x70 - EPI Read FIFO

§readfifo1: READFIFO1

0x74 - EPI Read FIFO Alias 1

§readfifo2: READFIFO2

0x78 - EPI Read FIFO Alias 2

§readfifo3: READFIFO3

0x7c - EPI Read FIFO Alias 3

§readfifo4: READFIFO4

0x80 - EPI Read FIFO Alias 4

§readfifo5: READFIFO5

0x84 - EPI Read FIFO Alias 5

§readfifo6: READFIFO6

0x88 - EPI Read FIFO Alias 6

§readfifo7: READFIFO7

0x8c - EPI Read FIFO Alias 7

§fifolvl: FIFOLVL

0x200 - EPI FIFO Level Selects

§wfifocnt: WFIFOCNT

0x204 - EPI Write FIFO Count

§dmatxcnt: DMATXCNT

0x208 - EPI DMA Transmit Count

§im: IM

0x210 - EPI Interrupt Mask

§ris: RIS

0x214 - EPI Raw Interrupt Status

§mis: MIS

0x218 - EPI Masked Interrupt Status

§eisc: EISC

0x21c - EPI Error and Interrupt Status and Clear

§hbpsram: HBPSRAM

0x360 - EPI Host-Bus PSRAM

Implementations§

Source§

impl RegisterBlock

Source

pub fn hb8cfg(&self) -> &HB8CFG

0x10 - EPI Host-Bus 8 Configuration

Source

pub fn hb8cfg_mut(&self) -> &mut HB8CFG

0x10 - EPI Host-Bus 8 Configuration

Source

pub fn sdramcfg(&self) -> &SDRAMCFG

0x10 - EPI SDRAM Configuration

Source

pub fn sdramcfg_mut(&self) -> &mut SDRAMCFG

0x10 - EPI SDRAM Configuration

Source

pub fn gpcfg(&self) -> &GPCFG

0x10 - EPI General-Purpose Configuration

Source

pub fn gpcfg_mut(&self) -> &mut GPCFG

0x10 - EPI General-Purpose Configuration

Source

pub fn hb16cfg(&self) -> &HB16CFG

0x10 - EPI Host-Bus 16 Configuration

Source

pub fn hb16cfg_mut(&self) -> &mut HB16CFG

0x10 - EPI Host-Bus 16 Configuration

Source

pub fn hb16cfg2(&self) -> &HB16CFG2

0x14 - EPI Host-Bus 16 Configuration 2

Source

pub fn hb16cfg2_mut(&self) -> &mut HB16CFG2

0x14 - EPI Host-Bus 16 Configuration 2

Source

pub fn hb8cfg2(&self) -> &HB8CFG2

0x14 - EPI Host-Bus 8 Configuration 2

Source

pub fn hb8cfg2_mut(&self) -> &mut HB8CFG2

0x14 - EPI Host-Bus 8 Configuration 2

Source

pub fn hb16cfg3(&self) -> &HB16CFG3

0x308 - EPI Host-Bus 16 Configuration 3

Source

pub fn hb16cfg3_mut(&self) -> &mut HB16CFG3

0x308 - EPI Host-Bus 16 Configuration 3

Source

pub fn hb8cfg3(&self) -> &HB8CFG3

0x308 - EPI Host-Bus 8 Configuration 3

Source

pub fn hb8cfg3_mut(&self) -> &mut HB8CFG3

0x308 - EPI Host-Bus 8 Configuration 3

Source

pub fn hb8cfg4(&self) -> &HB8CFG4

0x30c - EPI Host-Bus 8 Configuration 4

Source

pub fn hb8cfg4_mut(&self) -> &mut HB8CFG4

0x30c - EPI Host-Bus 8 Configuration 4

Source

pub fn hb16cfg4(&self) -> &HB16CFG4

0x30c - EPI Host-Bus 16 Configuration 4

Source

pub fn hb16cfg4_mut(&self) -> &mut HB16CFG4

0x30c - EPI Host-Bus 16 Configuration 4

Source

pub fn hb16time(&self) -> &HB16TIME

0x310 - EPI Host-Bus 16 Timing Extension

Source

pub fn hb16time_mut(&self) -> &mut HB16TIME

0x310 - EPI Host-Bus 16 Timing Extension

Source

pub fn hb8time(&self) -> &HB8TIME

0x310 - EPI Host-Bus 8 Timing Extension

Source

pub fn hb8time_mut(&self) -> &mut HB8TIME

0x310 - EPI Host-Bus 8 Timing Extension

Source

pub fn hb16time2(&self) -> &HB16TIME2

0x314 - EPI Host-Bus 16 Timing Extension

Source

pub fn hb16time2_mut(&self) -> &mut HB16TIME2

0x314 - EPI Host-Bus 16 Timing Extension

Source

pub fn hb8time2(&self) -> &HB8TIME2

0x314 - EPI Host-Bus 8 Timing Extension

Source

pub fn hb8time2_mut(&self) -> &mut HB8TIME2

0x314 - EPI Host-Bus 8 Timing Extension

Source

pub fn hb8time3(&self) -> &HB8TIME3

0x318 - EPI Host-Bus 8 Timing Extension

Source

pub fn hb8time3_mut(&self) -> &mut HB8TIME3

0x318 - EPI Host-Bus 8 Timing Extension

Source

pub fn hb16time3(&self) -> &HB16TIME3

0x318 - EPI Host-Bus 16 Timing Extension

Source

pub fn hb16time3_mut(&self) -> &mut HB16TIME3

0x318 - EPI Host-Bus 16 Timing Extension

Source

pub fn hb16time4(&self) -> &HB16TIME4

0x31c - EPI Host-Bus 16 Timing Extension

Source

pub fn hb16time4_mut(&self) -> &mut HB16TIME4

0x31c - EPI Host-Bus 16 Timing Extension

Source

pub fn hb8time4(&self) -> &HB8TIME4

0x31c - EPI Host-Bus 8 Timing Extension

Source

pub fn hb8time4_mut(&self) -> &mut HB8TIME4

0x31c - EPI Host-Bus 8 Timing Extension

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.