Enum stm32_hal2::gpio::OutputSpeed
source · [−]#[repr(u8)]
pub enum OutputSpeed {
Low,
Medium,
Fast,
High,
}
Expand description
Values for GPIOx_OSPEEDR
. This configures I/O output speed. See the user manual
for your MCU for what speeds these are. Note that Fast speed (0b10) is not
available on all STM32 families.
Variants
Low
Medium
Fast
High
Trait Implementations
sourceimpl Clone for OutputSpeed
impl Clone for OutputSpeed
sourcefn clone(&self) -> OutputSpeed
fn clone(&self) -> OutputSpeed
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
impl Copy for OutputSpeed
Auto Trait Implementations
impl RefUnwindSafe for OutputSpeed
impl Send for OutputSpeed
impl Sync for OutputSpeed
impl Unpin for OutputSpeed
impl UnwindSafe for OutputSpeed
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