[][src]Enum atsame70j21b::usart0::us_mr_usart_mode::USART_MODE_A

#[repr(u8)]pub enum USART_MODE_A {
    NORMAL,
    RS485,
    HW_HANDSHAKING,
    MODEM,
    IS07816_T_0,
    IS07816_T_1,
    IRDA,
    LON,
    LIN_MASTER,
    LIN_SLAVE,
    SPI_MASTER,
    SPI_SLAVE,
}

USART Mode of Operation

Value on reset: 0

Variants

NORMAL

0: Normal mode

RS485

1: RS485

HW_HANDSHAKING

2: Hardware handshaking

MODEM

3: Modem

IS07816_T_0

4: IS07816 Protocol: T = 0

IS07816_T_1

6: IS07816 Protocol: T = 1

IRDA

8: IrDA

LON

9: LON

LIN_MASTER

10: LIN Master mode

LIN_SLAVE

11: LIN Slave mode

SPI_MASTER

14: SPI Master mode (CLKO must be written to 1 and USCLKS = 0, 1 or 2)

SPI_SLAVE

15: SPI Slave mode

Trait Implementations

impl Clone for USART_MODE_A[src]

impl Copy for USART_MODE_A[src]

impl Debug for USART_MODE_A[src]

impl From<USART_MODE_A> for u8[src]

impl PartialEq<USART_MODE_A> for USART_MODE_A[src]

impl StructuralPartialEq for USART_MODE_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> Same<T> for T

type Output = T

Should always be Self

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.