Struct stm32f4xx_hal::pac::tim5::ccmr2_input::W
source · pub struct W(/* private fields */);
Expand description
Register CCMR2_Input
writer
Implementations§
source§impl W
impl W
sourcepub fn ic4f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 4, 12>
pub fn ic4f( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 4, 12>
Bits 12:15 - Input capture 4 filter
sourcepub fn ic4psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 2, 10>
pub fn ic4psc( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 2, 10>
Bits 10:11 - Input capture 4 prescaler
sourcepub fn cc4s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, CC4S_A, Unsafe, 2, 8>
pub fn cc4s( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, CC4S_A, Unsafe, 2, 8>
Bits 8:9 - Capture/Compare 4 selection
sourcepub fn ic3f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 4, 4>
pub fn ic3f( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 4, 4>
Bits 4:7 - Input capture 3 filter
sourcepub fn ic3psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 2, 2>
pub fn ic3psc( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, u8, Safe, 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§
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