Struct alt_stm32f30x_hal::stm32::syscfg::cfgr1::ENCODER_MODE_W
source · [−]pub struct ENCODER_MODE_W<'a> { /* private fields */ }
Expand description
Field ENCODER_MODE
writer - Encoder mode
Implementations
sourceimpl<'a> ENCODER_MODE_W<'a>
impl<'a> ENCODER_MODE_W<'a>
sourcepub fn variant(self, variant: ENCODER_MODE_A) -> &'a mut W
pub fn variant(self, variant: ENCODER_MODE_A) -> &'a mut W
Writes variant
to the field
sourcepub fn no_redirection(self) -> &'a mut W
pub fn no_redirection(self) -> &'a mut W
No redirection
sourcepub fn map_tim2tim15(self) -> &'a mut W
pub fn map_tim2tim15(self) -> &'a mut W
TIM2 IC1 and TIM2 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively
sourcepub fn map_tim3tim15(self) -> &'a mut W
pub fn map_tim3tim15(self) -> &'a mut W
TIM3 IC1 and TIM3 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively
sourcepub fn map_tim4tim15(self) -> &'a mut W
pub fn map_tim4tim15(self) -> &'a mut W
TIM4 IC1 and TIM4 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively (STM32F303xB/C and STM32F358xC devices only)
Auto Trait Implementations
impl<'a> RefUnwindSafe for ENCODER_MODE_W<'a>
impl<'a> Send for ENCODER_MODE_W<'a>
impl<'a> Sync for ENCODER_MODE_W<'a>
impl<'a> Unpin for ENCODER_MODE_W<'a>
impl<'a> !UnwindSafe for ENCODER_MODE_W<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more