[][src]Struct stm32f3xx_hal_v2::pac::syscfg::cfgr1::ENCODER_MODE_W

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

Write proxy for field ENCODER_MODE

Implementations

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

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

Writes variant to the field

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

No redirection

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

TIM2 IC1 and TIM2 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively

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

TIM3 IC1 and TIM3 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively

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

TIM4 IC1 and TIM4 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively (STM32F303xB/C and STM32F358xC devices only)

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for ENCODER_MODE_W<'a>[src]

impl<'a> !Sync for ENCODER_MODE_W<'a>[src]

impl<'a> Unpin for ENCODER_MODE_W<'a>[src]

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.