pub struct W(_);
Expand description
Register CCMR1_Input
writer
Implementations
sourceimpl W
impl W
sourcepub fn cc1s(&mut self) -> CC1S_W<'_, 0>
pub fn cc1s(&mut self) -> CC1S_W<'_, 0>
Bits 0:1 - Capture/Compare 1 Selection This bit-field defines the direction of the channel (input/output) as well as the used input. Others: Reserved Note: CC1S bits are writable only when the channel is OFF (CC1E = ’0â in TIMx_CCER).
sourcepub fn ic1psc(&mut self) -> IC1PSC_W<'_, 2>
pub fn ic1psc(&mut self) -> IC1PSC_W<'_, 2>
Bits 2:3 - Input capture 1 prescaler This bit-field defines the ratio of the prescaler acting on CC1 input (IC1). The prescaler is reset as soon as CC1E=â0â (TIMx_CCER register).
sourcepub fn ic1f(&mut self) -> IC1F_W<'_, 4>
pub fn ic1f(&mut self) -> IC1F_W<'_, 4>
Bits 4:7 - Input capture 1 filter This bit-field defines the frequency used to sample TI1 input and the length of the digital filter applied to TI1. The digital filter is made of an event counter in which N consecutive events are needed to validate a transition on the output:
Methods from Deref<Target = W<CCMR1_INPUT_SPEC>>
Trait Implementations
sourceimpl From<W<CCMR1_INPUT_SPEC>> for W
impl From<W<CCMR1_INPUT_SPEC>> for W
sourcefn from(writer: W<CCMR1_INPUT_SPEC>) -> Self
fn from(writer: W<CCMR1_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