Enum stm32_hal2::gpio::OutputSpeed
source · #[repr(u8)]
pub enum OutputSpeed {
Low,
Medium,
High,
VeryHigh,
}
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 more