[][src]Struct stm32f1xx_hal::pac::gpioa::crh::CNF10_W

pub struct CNF10_W<'a> { /* fields omitted */ }

Write proxy for field CNF10

Implementations

impl<'a> CNF10_W<'a>[src]

pub fn variant(self, variant: CNF8_A) -> &'a mut W<u32, Reg<u32, _CRH>>[src]

Writes variant to the field

pub fn push_pull(self) -> &'a mut W<u32, Reg<u32, _CRH>>[src]

Analog mode / Push-Pull mode

pub fn open_drain(self) -> &'a mut W<u32, Reg<u32, _CRH>>[src]

Floating input (reset state) / Open Drain-Mode

pub fn alt_push_pull(self) -> &'a mut W<u32, Reg<u32, _CRH>>[src]

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

pub fn alt_open_drain(self) -> &'a mut W<u32, Reg<u32, _CRH>>[src]

Alternate Function Open-Drain Mode

pub fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _CRH>>[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for CNF10_W<'a>

impl<'a> !Sync for CNF10_W<'a>

impl<'a> Unpin for CNF10_W<'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> Same<T> for T

type Output = T

Should always be Self

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.