Enum nrf52840_pac::spim0::frequency::FREQUENCY_A
source · [−]#[repr(u32)]
pub enum FREQUENCY_A {
K125,
K250,
K500,
M1,
M2,
M4,
M8,
M16,
M32,
}
Expand description
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
sourceimpl Clone for FREQUENCY_A
impl Clone for FREQUENCY_A
sourcefn clone(&self) -> FREQUENCY_A
fn clone(&self) -> FREQUENCY_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FREQUENCY_A
impl Debug for FREQUENCY_A
sourceimpl From<FREQUENCY_A> for u32
impl From<FREQUENCY_A> for u32
sourcefn from(variant: FREQUENCY_A) -> Self
fn from(variant: FREQUENCY_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<FREQUENCY_A> for FREQUENCY_A
impl PartialEq<FREQUENCY_A> for FREQUENCY_A
sourcefn eq(&self, other: &FREQUENCY_A) -> bool
fn eq(&self, other: &FREQUENCY_A) -> bool
impl Copy for FREQUENCY_A
impl StructuralPartialEq for FREQUENCY_A
Auto Trait Implementations
impl RefUnwindSafe for FREQUENCY_A
impl Send for FREQUENCY_A
impl Sync for FREQUENCY_A
impl Unpin for FREQUENCY_A
impl UnwindSafe for FREQUENCY_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more