Struct mk20d7::axbs::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { pub prs0: PRS, pub crs0: CRS, pub prs1: PRS, pub crs1: CRS, pub prs2: PRS, pub crs2: CRS, pub prs3: PRS, pub crs3: CRS, pub mgpcr0: MGPCR, pub mgpcr1: MGPCR, pub mgpcr2: MGPCR, pub mgpcr3: MGPCR, /* private fields */ }
Expand description

Register block

Fields§

§prs0: PRS

0x00 - Priority Registers Slave

§crs0: CRS

0x10 - Control Register

§prs1: PRS

0x100 - Priority Registers Slave

§crs1: CRS

0x110 - Control Register

§prs2: PRS

0x200 - Priority Registers Slave

§crs2: CRS

0x210 - Control Register

§prs3: PRS

0x300 - Priority Registers Slave

§crs3: CRS

0x310 - Control Register

§mgpcr0: MGPCR

0x800 - Master General Purpose Control Register

§mgpcr1: MGPCR

0x900 - Master General Purpose Control Register

§mgpcr2: MGPCR

0xa00 - Master General Purpose Control Register

§mgpcr3: MGPCR

0xb00 - Master General Purpose Control 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

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

Performs the conversion.