#[repr(u8)]
pub enum OSPEEDR0_A {
LowSpeed,
MediumSpeed,
HighSpeed,
VeryHighSpeed,
}
Expand description
Port x configuration bits (y = 0..15)
Value on reset: 0
Variants
LowSpeed
0: Low speed
MediumSpeed
1: Medium speed
HighSpeed
2: High speed
VeryHighSpeed
3: Very high speed
Trait Implementations
sourceimpl Clone for OSPEEDR0_A
impl Clone for OSPEEDR0_A
sourcefn clone(&self) -> OSPEEDR0_A
fn clone(&self) -> OSPEEDR0_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 more
sourceimpl Debug for OSPEEDR0_A
impl Debug for OSPEEDR0_A
sourceimpl From<OSPEEDR0_A> for u8
impl From<OSPEEDR0_A> for u8
sourcefn from(variant: OSPEEDR0_A) -> Self
fn from(variant: OSPEEDR0_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<OSPEEDR0_A> for OSPEEDR0_A
impl PartialEq<OSPEEDR0_A> for OSPEEDR0_A
impl Copy for OSPEEDR0_A
impl StructuralPartialEq for OSPEEDR0_A
Auto Trait Implementations
impl RefUnwindSafe for OSPEEDR0_A
impl Send for OSPEEDR0_A
impl Sync for OSPEEDR0_A
impl Unpin for OSPEEDR0_A
impl UnwindSafe for OSPEEDR0_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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