Struct stm32f4xx_hal::pac::tim9::ccmr1_input::W
source · pub struct W(/* private fields */);
Expand description
Register CCMR1_Input
writer
Implementations§
source§impl W
impl W
sourcepub fn ic2f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 3, 12>
pub fn ic2f( &mut self ) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 3, 12>
Bits 12:14 - 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, u8, Unsafe, 2, 8>
pub fn cc2s( &mut self ) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - Capture/Compare 2 selection
sourcepub fn ic1f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 3, 4>
pub fn ic1f( &mut self ) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 3, 4>
Bits 4:6 - 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§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more