[][src]Struct lpc81x_pac::usart0::cfg::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn enable(&self) -> ENABLER[src]

Bit 0 - USART Enable.

pub fn datalen(&self) -> DATALENR[src]

Bits 2:3 - Selects the data size for the USART.

pub fn paritysel(&self) -> PARITYSELR[src]

Bits 4:5 - Selects what type of parity is used by the USART.

pub fn stoplen(&self) -> STOPLENR[src]

Bit 6 - Number of stop bits appended to transmitted data. Only a single stop bit is required for received data.

pub fn ctsen(&self) -> CTSENR[src]

Bit 9 - CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART's own RTS if loopback mode is enabled. See Section 16.7.3 for more information.

pub fn syncen(&self) -> SYNCENR[src]

Bit 11 - Selects synchronous or asynchronous operation.

pub fn clkpol(&self) -> CLKPOLR[src]

Bit 12 - Selects the clock polarity and sampling edge of received data in synchronous mode.

pub fn syncmst(&self) -> SYNCMSTR[src]

Bit 14 - Synchronous mode Master select.

pub fn loop_(&self) -> LOOPR[src]

Bit 15 - Selects data loopback mode.

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self