Enum nrf52840_pac::twi0::frequency::FREQUENCY_A
source · #[repr(u32)]pub enum FREQUENCY_A {
K100 = 26_738_688,
K250 = 67_108_864,
K400 = 107_479_040,
}
Expand description
TWI master clock frequency
Value on reset: 67108864
Variants§
K100 = 26_738_688
26738688: 100 kbps
K250 = 67_108_864
67108864: 250 kbps
K400 = 107_479_040
107479040: 400 kbps (actual rate 410.256 kbps)
Trait Implementations§
source§impl Clone for FREQUENCY_A
impl Clone for FREQUENCY_A
source§fn clone(&self) -> FREQUENCY_A
fn clone(&self) -> FREQUENCY_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FREQUENCY_A
impl Debug for FREQUENCY_A
source§impl From<FREQUENCY_A> for u32
impl From<FREQUENCY_A> for u32
source§fn from(variant: FREQUENCY_A) -> Self
fn from(variant: FREQUENCY_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for FREQUENCY_A
impl PartialEq for FREQUENCY_A
impl Copy for FREQUENCY_A
impl StructuralPartialEq for FREQUENCY_A
Auto Trait Implementations§
impl Freeze for FREQUENCY_A
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)