Struct stm32_hal2::pac::tim3::ccmr1_input::W
source · [−]pub struct W(_);
Expand description
Register CCMR1_Input
writer
Implementations
sourceimpl W
impl W
sourcepub fn ic2f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Safe, 4, 12>
pub fn ic2f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Safe, 4, 12>
Bits 12:15 - Input capture 2 filter
sourcepub fn ic2psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 2, 10>
pub fn ic2psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - Input capture 2 prescaler
sourcepub fn cc2s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, CC2S_A, Unsafe, 2, 8>
pub fn cc2s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, CC2S_A, Unsafe, 2, 8>
Bits 8:9 - Capture/Compare 2 selection
sourcepub fn ic1f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, IC1F_A, Safe, 4, 4>
pub fn ic1f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, IC1F_A, Safe, 4, 4>
Bits 4:7 - Input capture 1 filter
sourcepub fn ic1psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 2, 2>
pub fn ic1psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - Input capture 1 prescaler
Methods from Deref<Target = W<CCMR1_INPUT_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
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>) -> W
fn from(writer: W<CCMR1_INPUT_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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