[][src]Enum rsl10_pac::spi1::spi1_ctrl1::SPI1_RW_CMD_A

#[repr(u8)]
pub enum SPI1_RW_CMD_A {
    SPI1_NOP,
    SPI1_WRITE_DATA,
    SPI1_READ_DATA,
    SPI1_RW_DATA,
}

Issue a read command or write command to the SPI interface

Value on reset: 0

Variants

SPI1_NOP

0: No operation

SPI1_WRITE_DATA

1: Write data using the SPI interface

SPI1_READ_DATA

2: Read data using the SPI interface

SPI1_RW_DATA

3: Read and write data using the SPI interface

Trait Implementations

impl Clone for SPI1_RW_CMD_A[src]

impl Copy for SPI1_RW_CMD_A[src]

impl Debug for SPI1_RW_CMD_A[src]

impl From<SPI1_RW_CMD_A> for u8[src]

impl PartialEq<SPI1_RW_CMD_A> for SPI1_RW_CMD_A[src]

impl StructuralPartialEq for SPI1_RW_CMD_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.