Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub acr1: ACR1, pub acr2: ACR2, pub afrcr: AFRCR, pub aslotr: ASLOTR, pub aim: AIM, pub asr: ASR, pub aclrfr: ACLRFR, pub adr: ADR, pub bcr1: BCR1, pub bcr2: BCR2, pub bfrcr: BFRCR, pub bslotr: BSLOTR, pub bim: BIM, pub bsr: BSR, pub bclrfr: BCLRFR, pub bdr: BDR, /* private fields */
}
Expand description

Register block

Fields§

§acr1: ACR1

0x04 - AConfiguration register 1

§acr2: ACR2

0x08 - AConfiguration register 2

§afrcr: AFRCR

0x0c - AFRCR

§aslotr: ASLOTR

0x10 - ASlot register

§aim: AIM

0x14 - AInterrupt mask register2

§asr: ASR

0x18 - AStatus register

§aclrfr: ACLRFR

0x1c - AClear flag register

§adr: ADR

0x20 - AData register

§bcr1: BCR1

0x24 - BConfiguration register 1

§bcr2: BCR2

0x28 - BConfiguration register 2

§bfrcr: BFRCR

0x2c - BFRCR

§bslotr: BSLOTR

0x30 - BSlot register

§bim: BIM

0x34 - BInterrupt mask register2

§bsr: BSR

0x38 - BStatus register

§bclrfr: BCLRFR

0x3c - BClear flag register

§bdr: BDR

0x40 - BData register

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> Same for T

Source§

type Output = T

Should always be Self
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.