pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn uartdr(&self) -> &Reg<UARTDR_SPEC>
pub const fn uartdr(&self) -> &Reg<UARTDR_SPEC>
0x00 - Data Register, UARTDR
Sourcepub const fn uartrsr(&self) -> &Reg<UARTRSR_SPEC>
pub const fn uartrsr(&self) -> &Reg<UARTRSR_SPEC>
0x04 - Receive Status Register/Error Clear Register, UARTRSR/UARTECR
Sourcepub const fn uartfr(&self) -> &Reg<UARTFR_SPEC>
pub const fn uartfr(&self) -> &Reg<UARTFR_SPEC>
0x18 - Flag Register, UARTFR
Sourcepub const fn uartilpr(&self) -> &Reg<UARTILPR_SPEC>
pub const fn uartilpr(&self) -> &Reg<UARTILPR_SPEC>
0x20 - IrDA Low-Power Counter Register, UARTILPR
Sourcepub const fn uartibrd(&self) -> &Reg<UARTIBRD_SPEC>
pub const fn uartibrd(&self) -> &Reg<UARTIBRD_SPEC>
0x24 - Integer Baud Rate Register, UARTIBRD
Sourcepub const fn uartfbrd(&self) -> &Reg<UARTFBRD_SPEC>
pub const fn uartfbrd(&self) -> &Reg<UARTFBRD_SPEC>
0x28 - Fractional Baud Rate Register, UARTFBRD
Sourcepub const fn uartlcr_h(&self) -> &Reg<UARTLCR_H_SPEC>
pub const fn uartlcr_h(&self) -> &Reg<UARTLCR_H_SPEC>
0x2c - Line Control Register, UARTLCR_H
Sourcepub const fn uartcr(&self) -> &Reg<UARTCR_SPEC>
pub const fn uartcr(&self) -> &Reg<UARTCR_SPEC>
0x30 - Control Register, UARTCR
Sourcepub const fn uartifls(&self) -> &Reg<UARTIFLS_SPEC>
pub const fn uartifls(&self) -> &Reg<UARTIFLS_SPEC>
0x34 - Interrupt FIFO Level Select Register, UARTIFLS
Sourcepub const fn uartimsc(&self) -> &Reg<UARTIMSC_SPEC>
pub const fn uartimsc(&self) -> &Reg<UARTIMSC_SPEC>
0x38 - Interrupt Mask Set/Clear Register, UARTIMSC
Sourcepub const fn uartris(&self) -> &Reg<UARTRIS_SPEC>
pub const fn uartris(&self) -> &Reg<UARTRIS_SPEC>
0x3c - Raw Interrupt Status Register, UARTRIS
Sourcepub const fn uartmis(&self) -> &Reg<UARTMIS_SPEC>
pub const fn uartmis(&self) -> &Reg<UARTMIS_SPEC>
0x40 - Masked Interrupt Status Register, UARTMIS
Sourcepub const fn uarticr(&self) -> &Reg<UARTICR_SPEC>
pub const fn uarticr(&self) -> &Reg<UARTICR_SPEC>
0x44 - Interrupt Clear Register, UARTICR
Sourcepub const fn uartdmacr(&self) -> &Reg<UARTDMACR_SPEC>
pub const fn uartdmacr(&self) -> &Reg<UARTDMACR_SPEC>
0x48 - DMA Control Register, UARTDMACR
Sourcepub const fn uartperiphid0(&self) -> &Reg<UARTPERIPHID0_SPEC>
pub const fn uartperiphid0(&self) -> &Reg<UARTPERIPHID0_SPEC>
0xfe0 - UARTPeriphID0 Register
Sourcepub const fn uartperiphid1(&self) -> &Reg<UARTPERIPHID1_SPEC>
pub const fn uartperiphid1(&self) -> &Reg<UARTPERIPHID1_SPEC>
0xfe4 - UARTPeriphID1 Register
Sourcepub const fn uartperiphid2(&self) -> &Reg<UARTPERIPHID2_SPEC>
pub const fn uartperiphid2(&self) -> &Reg<UARTPERIPHID2_SPEC>
0xfe8 - UARTPeriphID2 Register
Sourcepub const fn uartperiphid3(&self) -> &Reg<UARTPERIPHID3_SPEC>
pub const fn uartperiphid3(&self) -> &Reg<UARTPERIPHID3_SPEC>
0xfec - UARTPeriphID3 Register
Sourcepub const fn uartpcellid0(&self) -> &Reg<UARTPCELLID0_SPEC>
pub const fn uartpcellid0(&self) -> &Reg<UARTPCELLID0_SPEC>
0xff0 - UARTPCellID0 Register
Sourcepub const fn uartpcellid1(&self) -> &Reg<UARTPCELLID1_SPEC>
pub const fn uartpcellid1(&self) -> &Reg<UARTPCELLID1_SPEC>
0xff4 - UARTPCellID1 Register
Sourcepub const fn uartpcellid2(&self) -> &Reg<UARTPCELLID2_SPEC>
pub const fn uartpcellid2(&self) -> &Reg<UARTPCELLID2_SPEC>
0xff8 - UARTPCellID2 Register
Sourcepub const fn uartpcellid3(&self) -> &Reg<UARTPCELLID3_SPEC>
pub const fn uartpcellid3(&self) -> &Reg<UARTPCELLID3_SPEC>
0xffc - UARTPCellID3 Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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