[][src]Enum atsamd51g19a::sercom0::spi::ctrla::MODE_A

pub enum MODE_A {
    USART_EXT_CLK,
    USART_INT_CLK,
    SPI_SLAVE,
    SPI_MASTER,
    I2C_SLAVE,
    I2C_MASTER,
}

Operating Mode

Value on reset: 0

Variants

USART_EXT_CLK

0: USART mode with external clock

USART_INT_CLK

1: USART mode with internal clock

SPI_SLAVE

2: SPI mode with external clock

SPI_MASTER

3: SPI mode with internal clock

I2C_SLAVE

4: I2C mode with external clock

I2C_MASTER

5: I2C mode with internal clock

Trait Implementations

impl PartialEq<MODE_A> for MODE_A[src]

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

This method tests for !=.

impl Debug for MODE_A[src]

impl Copy for MODE_A[src]

impl From<MODE_A> for u8[src]

impl Clone for MODE_A[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for MODE_A

impl Send for MODE_A

impl Sync for MODE_A

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