[][src]Enum rsl10_pac::spi0::spi0_ctrl1::SPI0_WORD_SIZE_A

#[repr(u8)]
pub enum SPI0_WORD_SIZE_A {
    SPI0_WORD_SIZE_1,
    SPI0_WORD_SIZE_8,
    SPI0_WORD_SIZE_16,
    SPI0_WORD_SIZE_24,
    SPI0_WORD_SIZE_32,
}

Select the word size used by the SPI interface (word size = SPI0_WORD_SIZE + 1)

Value on reset: 0

Variants

SPI0_WORD_SIZE_1

0: SPI transfers use 1-bit words

SPI0_WORD_SIZE_8

7: SPI transfers use 8-bit words

SPI0_WORD_SIZE_16

15: SPI transfers use 16-bit words

SPI0_WORD_SIZE_24

23: SPI transfers use 24-bit words

SPI0_WORD_SIZE_32

31: SPI transfers use 32-bit words

Trait Implementations

impl Clone for SPI0_WORD_SIZE_A[src]

impl Copy for SPI0_WORD_SIZE_A[src]

impl Debug for SPI0_WORD_SIZE_A[src]

impl From<SPI0_WORD_SIZE_A> for u8[src]

impl PartialEq<SPI0_WORD_SIZE_A> for SPI0_WORD_SIZE_A[src]

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