Enum stm32_hal2::gpio::OutputSpeed
source · #[repr(u8)]pub enum OutputSpeed {
Low = 0,
Medium = 1,
High = 2,
VeryHigh = 3,
}
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§
Trait Implementations§
source§impl Clone for OutputSpeed
impl Clone for OutputSpeed
source§fn clone(&self) -> OutputSpeed
fn clone(&self) -> OutputSpeed
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 moreimpl Copy for OutputSpeed
Auto Trait Implementations§
impl Freeze for OutputSpeed
impl RefUnwindSafe for OutputSpeed
impl Send for OutputSpeed
impl Sync for OutputSpeed
impl Unpin for OutputSpeed
impl UnwindSafe for OutputSpeed
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