#[repr(u8)]pub enum SPEEDSELECT_A {
STANDARD_AND_FAST_MODE = 0,
FASTPLUS_MODE = 1,
HIGH_SPEED_MODE = 2,
}
Expand description
Transfer Speed
Value on reset: 0
Variants§
STANDARD_AND_FAST_MODE = 0
0: Standard Mode(Sm) Upto 100kHz and Fast Mode(Fm) Upto 400kHz
FASTPLUS_MODE = 1
1: Fast-mode Plus Upto 1MHz
HIGH_SPEED_MODE = 2
2: High-speed mode Upto 3.4MHz
Trait Implementations§
source§impl Clone for SPEEDSELECT_A
impl Clone for SPEEDSELECT_A
source§fn clone(&self) -> SPEEDSELECT_A
fn clone(&self) -> SPEEDSELECT_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 SPEEDSELECT_A
impl Debug for SPEEDSELECT_A
source§impl From<SPEEDSELECT_A> for u8
impl From<SPEEDSELECT_A> for u8
source§fn from(variant: SPEEDSELECT_A) -> Self
fn from(variant: SPEEDSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for SPEEDSELECT_A
impl PartialEq for SPEEDSELECT_A
source§fn eq(&self, other: &SPEEDSELECT_A) -> bool
fn eq(&self, other: &SPEEDSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SPEEDSELECT_A
impl Eq for SPEEDSELECT_A
impl StructuralPartialEq for SPEEDSELECT_A
Auto Trait Implementations§
impl Freeze for SPEEDSELECT_A
impl RefUnwindSafe for SPEEDSELECT_A
impl Send for SPEEDSELECT_A
impl Sync for SPEEDSELECT_A
impl Unpin for SPEEDSELECT_A
impl UnwindSafe for SPEEDSELECT_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