pub struct W(_);
Expand description
Register CCMR2_Input
writer
Implementations
sourceimpl W
impl W
sourcepub fn cc3s(&mut self) -> CC3S_W<'_, 0>
pub fn cc3s(&mut self) -> CC3S_W<'_, 0>
Bits 0:1 - Capture/compare 3 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC3S bits are writable only when the channel is OFF (CC3E = ’0â in TIMx_CCER).
sourcepub fn ic3psc(&mut self) -> IC3PSC_W<'_, 2>
pub fn ic3psc(&mut self) -> IC3PSC_W<'_, 2>
Bits 2:3 - Input capture 3 prescaler Refer to IC1PSC[1:0] description.
sourcepub fn ic3f(&mut self) -> IC3F_W<'_, 4>
pub fn ic3f(&mut self) -> IC3F_W<'_, 4>
Bits 4:7 - Input capture 3 filter Refer to IC1F[3:0] description.
sourcepub fn cc4s(&mut self) -> CC4S_W<'_, 8>
pub fn cc4s(&mut self) -> CC4S_W<'_, 8>
Bits 8:9 - Capture/Compare 4 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC4S bits are writable only when the channel is OFF (CC4E = ’0â in TIMx_CCER).
sourcepub fn ic4psc(&mut self) -> IC4PSC_W<'_, 10>
pub fn ic4psc(&mut self) -> IC4PSC_W<'_, 10>
Bits 10:11 - Input capture 4 prescaler Refer to IC1PSC[1:0] description.
Methods from Deref<Target = W<CCMR2_INPUT_SPEC>>
Trait Implementations
sourceimpl From<W<CCMR2_INPUT_SPEC>> for W
impl From<W<CCMR2_INPUT_SPEC>> for W
sourcefn from(writer: W<CCMR2_INPUT_SPEC>) -> Self
fn from(writer: W<CCMR2_INPUT_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
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