Enum stm32f1::stm32f100::gpioa::crh::CNF8_A[][src]

#[repr(u8)]pub enum CNF8_A {
    PUSHPULL,
    OPENDRAIN,
    ALTPUSHPULL,
    ALTOPENDRAIN,
}

Port n.8 configuration bits

Value on reset: 1

Variants

PUSHPULL

0: Analog mode / Push-Pull mode

OPENDRAIN

1: Floating input (reset state) / Open Drain-Mode

ALTPUSHPULL

2: Input with pull-up/pull-down / Alternate Function Push-Pull Mode

ALTOPENDRAIN

3: Alternate Function Open-Drain Mode

Trait Implementations

impl Clone for CNF8_A[src]

impl Copy for CNF8_A[src]

impl Debug for CNF8_A[src]

impl PartialEq<CNF8_A> for CNF8_A[src]

impl StructuralPartialEq for CNF8_A[src]

Auto Trait Implementations

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.