Enum nrf52820_pac::twi0::frequency::FREQUENCY_A
source · [−]#[repr(u32)]
pub enum FREQUENCY_A {
K100,
K250,
K400,
}
Expand description
TWI master clock frequency
Value on reset: 67108864
Variants
K100
26738688: 100 kbps
K250
67108864: 250 kbps
K400
107479040: 400 kbps (actual rate 410.256 kbps)
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