[][src]Enum atsams70j21b::usart0::us_mr_usart_mode::USART_MODER

pub enum USART_MODER {
    NORMAL,
    RS485,
    HW_HANDSHAKING,
    MODEM,
    IS07816_T_0,
    IS07816_T_1,
    IRDA,
    LON,
    LIN_MASTER,
    LIN_SLAVE,
    SPI_MASTER,
    SPI_SLAVE,
}

Possible values of the field USART_MODE

Variants

NORMAL

Normal mode

RS485

RS485

HW_HANDSHAKING

Hardware handshaking

MODEM

Modem

IS07816_T_0

IS07816 Protocol: T = 0

IS07816_T_1

IS07816 Protocol: T = 1

IRDA

IrDA

LON

LON

LIN_MASTER

LIN Master mode

LIN_SLAVE

LIN Slave mode

SPI_MASTER

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

SPI_SLAVE

SPI Slave mode

Trait Implementations

impl ToBits<u8> for USART_MODER[src]

impl Debug for USART_MODER[src]

impl PartialEq<USART_MODER> for USART_MODER[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for USART_MODER[src]

impl Clone for USART_MODER[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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