Struct stm32_hal2::pac::tim12::ccmr2_input::W
source · [−]pub struct W(_);
Expand description
Register CCMR2_Input
writer
Implementations
sourceimpl W
impl W
sourcepub fn ic4f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 4, 12>
pub fn ic4f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 4, 12>
Bits 12:15 - Input capture 4 filter
sourcepub fn ic4psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 2, 10>
pub fn ic4psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - Input capture 4 prescaler
sourcepub fn cc4s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 2, 8>
pub fn cc4s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - Capture/Compare 4 selection
sourcepub fn ic3f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 4, 4>
pub fn ic3f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 4, 4>
Bits 4:7 - Input capture 3 filter
sourcepub fn ic3psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 2, 2>
pub fn ic3psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - Input capture 3 prescaler
Methods from Deref<Target = W<CCMR2_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<CCMR2_INPUT_SPEC>> for W
impl From<W<CCMR2_INPUT_SPEC>> for W
sourcefn from(writer: W<CCMR2_INPUT_SPEC>) -> W
fn from(writer: W<CCMR2_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