Enum stm32wlxx_hal::pac::gpioa::ospeedr::OSPEEDR1_A
#[repr(u8)]pub enum OSPEEDR1_A {
LowSpeed = 0,
MediumSpeed = 1,
HighSpeed = 2,
VeryHighSpeed = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Port x configuration bits (y = 0..15)
Value on reset: 0
Variants§
LowSpeed = 0
0: Low speed
MediumSpeed = 1
1: Medium speed
HighSpeed = 2
2: High speed
VeryHighSpeed = 3
3: Very high speed
Trait Implementations§
§impl Clone for OSPEEDR0_A
impl Clone for OSPEEDR0_A
§fn clone(&self) -> OSPEEDR0_A
fn clone(&self) -> OSPEEDR0_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 more§impl Debug for OSPEEDR0_A
impl Debug for OSPEEDR0_A
§impl PartialEq for OSPEEDR0_A
impl PartialEq for OSPEEDR0_A
§fn eq(&self, other: &OSPEEDR0_A) -> bool
fn eq(&self, other: &OSPEEDR0_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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