#[repr(C)]
pub struct RegisterBlock {
Show 36 fields pub mcfg: [MCFG; 16], pub scfg: [SCFG; 16], pub pras0: PRAS, pub prbs0: PRBS, pub pras1: PRAS, pub prbs1: PRBS, pub pras2: PRAS, pub prbs2: PRBS, pub pras3: PRAS, pub prbs3: PRBS, pub pras4: PRAS, pub prbs4: PRBS, pub pras5: PRAS, pub prbs5: PRBS, pub pras6: PRAS, pub prbs6: PRBS, pub pras7: PRAS, pub prbs7: PRBS, pub pras8: PRAS, pub prbs8: PRBS, pub pras9: PRAS, pub prbs9: PRBS, pub pras10: PRAS, pub prbs10: PRBS, pub pras11: PRAS, pub prbs11: PRBS, pub pras12: PRAS, pub prbs12: PRBS, pub pras13: PRAS, pub prbs13: PRBS, pub pras14: PRAS, pub prbs14: PRBS, pub pras15: PRAS, pub prbs15: PRBS, pub mrcr: MRCR, pub sfr: [SFR; 16], /* private fields */
}
Expand description

Register block

Fields§

§mcfg: [MCFG; 16]

0x00..0x40 - Master Configuration Register

§scfg: [SCFG; 16]

0x40..0x80 - Slave Configuration Register

§pras0: PRAS

0x80 - Priority Register A for Slave

§prbs0: PRBS

0x84 - Priority Register B for Slave

§pras1: PRAS

0x88 - Priority Register A for Slave

§prbs1: PRBS

0x8c - Priority Register B for Slave

§pras2: PRAS

0x90 - Priority Register A for Slave

§prbs2: PRBS

0x94 - Priority Register B for Slave

§pras3: PRAS

0x98 - Priority Register A for Slave

§prbs3: PRBS

0x9c - Priority Register B for Slave

§pras4: PRAS

0xa0 - Priority Register A for Slave

§prbs4: PRBS

0xa4 - Priority Register B for Slave

§pras5: PRAS

0xa8 - Priority Register A for Slave

§prbs5: PRBS

0xac - Priority Register B for Slave

§pras6: PRAS

0xb0 - Priority Register A for Slave

§prbs6: PRBS

0xb4 - Priority Register B for Slave

§pras7: PRAS

0xb8 - Priority Register A for Slave

§prbs7: PRBS

0xbc - Priority Register B for Slave

§pras8: PRAS

0xc0 - Priority Register A for Slave

§prbs8: PRBS

0xc4 - Priority Register B for Slave

§pras9: PRAS

0xc8 - Priority Register A for Slave

§prbs9: PRBS

0xcc - Priority Register B for Slave

§pras10: PRAS

0xd0 - Priority Register A for Slave

§prbs10: PRBS

0xd4 - Priority Register B for Slave

§pras11: PRAS

0xd8 - Priority Register A for Slave

§prbs11: PRBS

0xdc - Priority Register B for Slave

§pras12: PRAS

0xe0 - Priority Register A for Slave

§prbs12: PRBS

0xe4 - Priority Register B for Slave

§pras13: PRAS

0xe8 - Priority Register A for Slave

§prbs13: PRBS

0xec - Priority Register B for Slave

§pras14: PRAS

0xf0 - Priority Register A for Slave

§prbs14: PRBS

0xf4 - Priority Register B for Slave

§pras15: PRAS

0xf8 - Priority Register A for Slave

§prbs15: PRBS

0xfc - Priority Register B for Slave

§mrcr: MRCR

0x100 - Master Remap Control Register

§sfr: [SFR; 16]

0x110..0x150 - Special Function Register

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

§

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

§

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.