RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn uartdr(&self) -> &Reg<UARTDR_SPEC>

0x00 - Data Register, UARTDR

Source

pub const fn uartrsr(&self) -> &Reg<UARTRSR_SPEC>

0x04 - Receive Status Register/Error Clear Register, UARTRSR/UARTECR

Source

pub const fn uartfr(&self) -> &Reg<UARTFR_SPEC>

0x18 - Flag Register, UARTFR

Source

pub const fn uartilpr(&self) -> &Reg<UARTILPR_SPEC>

0x20 - IrDA Low-Power Counter Register, UARTILPR

Source

pub const fn uartibrd(&self) -> &Reg<UARTIBRD_SPEC>

0x24 - Integer Baud Rate Register, UARTIBRD

Source

pub const fn uartfbrd(&self) -> &Reg<UARTFBRD_SPEC>

0x28 - Fractional Baud Rate Register, UARTFBRD

Source

pub const fn uartlcr_h(&self) -> &Reg<UARTLCR_H_SPEC>

0x2c - Line Control Register, UARTLCR_H

Source

pub const fn uartcr(&self) -> &Reg<UARTCR_SPEC>

0x30 - Control Register, UARTCR

Source

pub const fn uartifls(&self) -> &Reg<UARTIFLS_SPEC>

0x34 - Interrupt FIFO Level Select Register, UARTIFLS

Source

pub const fn uartimsc(&self) -> &Reg<UARTIMSC_SPEC>

0x38 - Interrupt Mask Set/Clear Register, UARTIMSC

Source

pub const fn uartris(&self) -> &Reg<UARTRIS_SPEC>

0x3c - Raw Interrupt Status Register, UARTRIS

Source

pub const fn uartmis(&self) -> &Reg<UARTMIS_SPEC>

0x40 - Masked Interrupt Status Register, UARTMIS

Source

pub const fn uarticr(&self) -> &Reg<UARTICR_SPEC>

0x44 - Interrupt Clear Register, UARTICR

Source

pub const fn uartdmacr(&self) -> &Reg<UARTDMACR_SPEC>

0x48 - DMA Control Register, UARTDMACR

Source

pub const fn uartperiphid0(&self) -> &Reg<UARTPERIPHID0_SPEC>

0xfe0 - UARTPeriphID0 Register

Source

pub const fn uartperiphid1(&self) -> &Reg<UARTPERIPHID1_SPEC>

0xfe4 - UARTPeriphID1 Register

Source

pub const fn uartperiphid2(&self) -> &Reg<UARTPERIPHID2_SPEC>

0xfe8 - UARTPeriphID2 Register

Source

pub const fn uartperiphid3(&self) -> &Reg<UARTPERIPHID3_SPEC>

0xfec - UARTPeriphID3 Register

Source

pub const fn uartpcellid0(&self) -> &Reg<UARTPCELLID0_SPEC>

0xff0 - UARTPCellID0 Register

Source

pub const fn uartpcellid1(&self) -> &Reg<UARTPCELLID1_SPEC>

0xff4 - UARTPCellID1 Register

Source

pub const fn uartpcellid2(&self) -> &Reg<UARTPCELLID2_SPEC>

0xff8 - UARTPCellID2 Register

Source

pub const fn uartpcellid3(&self) -> &Reg<UARTPCELLID3_SPEC>

0xffc - UARTPCellID3 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<Choices> CoproductSubsetter<CNil, HNil> for Choices

Source§

type Remainder = Choices

Source§

fn subset( self, ) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>

Extract a subset of the possible types in a coproduct (or get the remaining possibilities) 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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U, I> LiftInto<U, I> for T
where U: LiftFrom<T, I>,

Source§

fn lift_into(self) -> U

Performs the indexed conversion.
Source§

impl<Source> Sculptor<HNil, HNil> for Source

Source§

type Remainder = Source

Source§

fn sculpt(self) -> (HNil, <Source as Sculptor<HNil, HNil>>::Remainder)

Consumes the current HList and returns an HList with the requested shape. Read more
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.