[][src]Enum nrf52840_hal::spim::Frequency

#[repr(u32)]pub enum Frequency {
    K125,
    K250,
    K500,
    M1,
    M2,
    M4,
    M8,
    M16,
    M32,
}

SPI master data rate

Value on reset: 67108864

Variants

K125

33554432: 125 kbps

K250

67108864: 250 kbps

K500

134217728: 500 kbps

M1

268435456: 1 Mbps

M2

536870912: 2 Mbps

M4

1073741824: 4 Mbps

M8

2147483648: 8 Mbps

M16

167772160: 16 Mbps

M32

335544320: 32 Mbps

Trait Implementations

impl Clone for FREQUENCY_A[src]

impl Copy for FREQUENCY_A[src]

impl Debug for FREQUENCY_A[src]

impl PartialEq<FREQUENCY_A> for FREQUENCY_A[src]

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