[][src]Enum rsl10_pac::spi1::spi1_ctrl0::SPI1_PRESCALE_A

#[repr(u8)]
pub enum SPI1_PRESCALE_A {
    SPI1_PRESCALE_2,
    SPI1_PRESCALE_4,
    SPI1_PRESCALE_8,
    SPI1_PRESCALE_16,
    SPI1_PRESCALE_32,
    SPI1_PRESCALE_64,
    SPI1_PRESCALE_128,
    SPI1_PRESCALE_256,
    SPI1_PRESCALE_512,
    SPI1_PRESCALE_1024,
}

Prescale the SPI interface clock for master transfers

Value on reset: 0

Variants

SPI1_PRESCALE_2

0: Prescale the SPI interface clock by 2

SPI1_PRESCALE_4

1: Prescale the SPI interface clock by 4

SPI1_PRESCALE_8

2: Prescale the SPI interface clock by 8

SPI1_PRESCALE_16

3: Prescale the SPI interface clock by 16

SPI1_PRESCALE_32

4: Prescale the SPI interface clock by 32

SPI1_PRESCALE_64

5: Prescale the SPI interface clock by 64

SPI1_PRESCALE_128

6: Prescale the SPI interface clock by 128

SPI1_PRESCALE_256

7: Prescale the SPI interface clock by 256

SPI1_PRESCALE_512

8: Prescale the SPI interface clock by 512

SPI1_PRESCALE_1024

9: Prescale the SPI interface clock by 1024

Trait Implementations

impl Clone for SPI1_PRESCALE_A[src]

impl Copy for SPI1_PRESCALE_A[src]

impl Debug for SPI1_PRESCALE_A[src]

impl From<SPI1_PRESCALE_A> for u8[src]

impl PartialEq<SPI1_PRESCALE_A> for SPI1_PRESCALE_A[src]

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