[][src]Enum lpc55_pac::usart0::cfg::DATALEN_A

#[repr(u8)]pub enum DATALEN_A {
    BIT_7,
    BIT_8,
    BIT_9,
}

Selects the data size for the USART.

Value on reset: 0

Variants

BIT_7

0: 7 bit Data length.

BIT_8

1: 8 bit Data length.

BIT_9

2: 9 bit data length. The 9th bit is commonly used for addressing in multidrop mode. See the ADDRDET bit in the CTL register.

Trait Implementations

impl Clone for DATALEN_A[src]

impl Copy for DATALEN_A[src]

impl Debug for DATALEN_A[src]

impl From<DATALEN_A> for u8[src]

impl PartialEq<DATALEN_A> for DATALEN_A[src]

impl StructuralPartialEq for DATALEN_A[src]

Auto Trait Implementations

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.