Embassy
rp-pac

Crates

git

Versions

default

Flavors

Struct rp_pac::uart::Uart

source ·
pub struct Uart { /* private fields */ }

Implementations§

source§

impl Uart

source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

source

pub const fn as_ptr(&self) -> *mut ()

source

pub const fn uartdr(self) -> Reg<Uartdr, RW>

Data Register, UARTDR

source

pub const fn uartrsr(self) -> Reg<Uartrsr, RW>

Receive Status Register/Error Clear Register, UARTRSR/UARTECR

source

pub const fn uartfr(self) -> Reg<Uartfr, RW>

Flag Register, UARTFR

source

pub const fn uartilpr(self) -> Reg<Uartilpr, RW>

IrDA Low-Power Counter Register, UARTILPR

source

pub const fn uartibrd(self) -> Reg<Uartibrd, RW>

Integer Baud Rate Register, UARTIBRD

source

pub const fn uartfbrd(self) -> Reg<Uartfbrd, RW>

Fractional Baud Rate Register, UARTFBRD

source

pub const fn uartlcr_h(self) -> Reg<UartlcrH, RW>

Line Control Register, UARTLCR_H

source

pub const fn uartcr(self) -> Reg<Uartcr, RW>

Control Register, UARTCR

source

pub const fn uartifls(self) -> Reg<Uartifls, RW>

Interrupt FIFO Level Select Register, UARTIFLS

source

pub const fn uartimsc(self) -> Reg<Uartimsc, RW>

Interrupt Mask Set/Clear Register, UARTIMSC

source

pub const fn uartris(self) -> Reg<Uartris, RW>

Raw Interrupt Status Register, UARTRIS

source

pub const fn uartmis(self) -> Reg<Uartmis, RW>

Masked Interrupt Status Register, UARTMIS

source

pub const fn uarticr(self) -> Reg<Uarticr, RW>

Interrupt Clear Register, UARTICR

source

pub const fn uartdmacr(self) -> Reg<Uartdmacr, RW>

DMA Control Register, UARTDMACR

source

pub const fn uartperiphid0(self) -> Reg<Uartperiphid0, RW>

UARTPeriphID0 Register

source

pub const fn uartperiphid1(self) -> Reg<Uartperiphid1, RW>

UARTPeriphID1 Register

source

pub const fn uartperiphid2(self) -> Reg<Uartperiphid2, RW>

UARTPeriphID2 Register

source

pub const fn uartperiphid3(self) -> Reg<Uartperiphid3, RW>

UARTPeriphID3 Register

source

pub const fn uartpcellid0(self) -> Reg<Uartpcellid0, RW>

UARTPCellID0 Register

source

pub const fn uartpcellid1(self) -> Reg<Uartpcellid1, RW>

UARTPCellID1 Register

source

pub const fn uartpcellid2(self) -> Reg<Uartpcellid2, RW>

UARTPCellID2 Register

source

pub const fn uartpcellid3(self) -> Reg<Uartpcellid3, RW>

UARTPCellID3 Register

Trait Implementations§

source§

impl Clone for Uart

source§

fn clone(&self) -> Uart

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq<Uart> for Uart

source§

fn eq(&self, other: &Uart) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Uart

source§

impl Eq for Uart

source§

impl Send for Uart

source§

impl StructuralEq for Uart

source§

impl StructuralPartialEq for Uart

source§

impl Sync for Uart

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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.