Enum gd32f1::gd32f170::gpiob::ospd::OSPD15_A[][src]

#[repr(u8)]pub enum OSPD15_A {
    SPEED2M,
    SPEED10M,
    SPEED50M,
}

Pin 15 output max speed bits

Value on reset: 0

Variants

SPEED2M

0: Max output speed 2 MHz

SPEED10M

1: Max output speed 10 MHz

SPEED50M

3: Max output speed 50 MHz

Trait Implementations

impl Clone for OSPD15_A[src]

impl Copy for OSPD15_A[src]

impl Debug for OSPD15_A[src]

impl PartialEq<OSPD15_A> for OSPD15_A[src]

impl StructuralPartialEq for OSPD15_A[src]

Auto Trait Implementations

impl Send for OSPD15_A

impl Sync for OSPD15_A

impl Unpin for OSPD15_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.