pub struct R(_);
Expand description
Register CCMR1_Input
reader
Implementations
sourceimpl R
impl R
sourcepub fn cc1s(&self) -> CC1S_R
pub fn cc1s(&self) -> CC1S_R
Bits 0:1 - Capture/Compare 1 Selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC1S bits are writable only when the channel is OFF (CC1E = ’0â in TIMx_CCER).
sourcepub fn ic1psc(&self) -> IC1PSC_R
pub fn ic1psc(&self) -> IC1PSC_R
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(&self) -> IC1F_R
pub fn ic1f(&self) -> IC1F_R
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:
sourcepub fn cc2s(&self) -> CC2S_R
pub fn cc2s(&self) -> CC2S_R
Bits 8:9 - Capture/Compare 2 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC2S bits are writable only when the channel is OFF (CC2E = ’0â in TIMx_CCER).
Methods from Deref<Target = R<CCMR1_INPUT_SPEC>>
Trait Implementations
sourceimpl From<R<CCMR1_INPUT_SPEC>> for R
impl From<R<CCMR1_INPUT_SPEC>> for R
sourcefn from(reader: R<CCMR1_INPUT_SPEC>) -> Self
fn from(reader: R<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