[−][src]Struct stm32f3xx_hal::stm32::syscfg::cfgr1::ENCODER_MODE_W
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]
self,
variant: ENCODER_MODE_A
) -> &'a mut W<u32, Reg<u32, _CFGR1>>
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>
impl<'a> !Sync for ENCODER_MODE_W<'a>
impl<'a> Unpin for ENCODER_MODE_W<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,