[][src]Struct esp8266::uart1::uart_status::R

pub struct R(_);

Reader of register UART_STATUS

Implementations

impl R[src]

pub fn txd(&self) -> TXD_R[src]

Bit 31 - The level of the uart txd pin

pub fn rtsn(&self) -> RTSN_R[src]

Bit 30 - The level of uart rts pin

pub fn dtrn(&self) -> DTRN_R[src]

Bit 29 - The level of uart dtr pin

pub fn txfifo_cnt(&self) -> TXFIFO_CNT_R[src]

Bits 16:23 - Number of data in UART TX fifo

pub fn rxd(&self) -> RXD_R[src]

Bit 15 - The level of uart rxd pin

pub fn ctsn(&self) -> CTSN_R[src]

Bit 14 - The level of uart cts pin

pub fn dsrn(&self) -> DSRN_R[src]

Bit 13 - The level of uart dsr pin

pub fn rxfifo_cnt(&self) -> RXFIFO_CNT_R[src]

Bits 0:7 - Number of data in uart rx fifo

Methods from Deref<Target = R<UART_STATUS_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<UART_STATUS_SPEC>

The resulting type after dereferencing.

impl From<R<UART_STATUS_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.