Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 23 fields pub CR1: RWRegister<u32>, pub CR2: RWRegister<u32>, pub CR3: RWRegister<u32>, pub CR4: RWRegister<u32>, pub SR1: RORegister<u32>, pub SR2: RORegister<u32>, pub SCR: WORegister<u32>, pub CR5: RWRegister<u32>, pub PUCRA: RWRegister<u32>, pub PDCRA: RWRegister<u32>, pub PUCRB: RWRegister<u32>, pub PDCRB: RWRegister<u32>, pub PUCRC: RWRegister<u32>, pub PDCRC: RWRegister<u32>, pub PUCRD: RWRegister<u32>, pub PDCRD: RWRegister<u32>, pub PUCRE: RWRegister<u32>, pub PDCRE: RWRegister<u32>, pub PUCRH: RWRegister<u32>, pub PDCRH: RWRegister<u32>, pub C2CR1: RWRegister<u32>, pub C2CR3: RWRegister<u32>, pub EXTSCR: RWRegister<u32>, /* private fields */
}

Fields§

§CR1: RWRegister<u32>

Power control register 1

§CR2: RWRegister<u32>

Power control register 2

§CR3: RWRegister<u32>

Power control register 3

§CR4: RWRegister<u32>

Power control register 4

§SR1: RORegister<u32>

Power status register 1

§SR2: RORegister<u32>

Power status register 2

§SCR: WORegister<u32>

Power status clear register

§CR5: RWRegister<u32>

Power control register 5

§PUCRA: RWRegister<u32>

Power Port A pull-up control register

§PDCRA: RWRegister<u32>

Power Port A pull-down control register

§PUCRB: RWRegister<u32>

Power Port B pull-up control register

§PDCRB: RWRegister<u32>

Power Port B pull-down control register

§PUCRC: RWRegister<u32>

Power Port C pull-up control register

§PDCRC: RWRegister<u32>

Power Port C pull-down control register

§PUCRD: RWRegister<u32>

Power Port D pull-up control register

§PDCRD: RWRegister<u32>

Power Port D pull-down control register

§PUCRE: RWRegister<u32>

Power Port E pull-up control register

§PDCRE: RWRegister<u32>

Power Port E pull-down control register

§PUCRH: RWRegister<u32>

Power Port H pull-up control register

§PDCRH: RWRegister<u32>

Power Port H pull-down control register

§C2CR1: RWRegister<u32>

CPU2 Power control register 1

§C2CR3: RWRegister<u32>

CPU2 Power control register 3

§EXTSCR: RWRegister<u32>

Power status clear 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, 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.