Struct stm32wlxx_hal::pac::tim1::ccmr2_input::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CCMR2_Input
writer
Implementations§
§impl W
impl W
pub fn ic4f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3F_A, Safe, 4, 12>
pub fn ic4f( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3F_A, Safe, 4, 12>
Bits 12:15 - Input capture 4 filter
pub fn ic4psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3PSC_A, Safe, 2, 10>
pub fn ic4psc( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3PSC_A, Safe, 2, 10>
Bits 10:11 - Input capture 4 prescaler
pub fn cc4s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, CC3S_A, Safe, 2, 8>
pub fn cc4s( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, CC3S_A, Safe, 2, 8>
Bits 8:9 - Capture/Compare 4 selection
pub fn ic3f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3F_A, Safe, 4, 4>
pub fn ic3f( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3F_A, Safe, 4, 4>
Bits 4:7 - Input capture 3 filter
pub fn ic3psc(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3PSC_A, Safe, 2, 2>
pub fn ic3psc( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, IC3PSC_A, Safe, 2, 2>
Bits 2:3 - Input capture 3 prescaler
pub fn cc3s(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, CC3S_A, Safe, 2, 0>
pub fn cc3s( &mut self ) -> FieldWriterRaw<'_, u32, CCMR2_INPUT_SPEC, u8, CC3S_A, Safe, 2, 0>
Bits 0:1 - Capture/Compare 3 selection
Methods from Deref<Target = W<CCMR2_INPUT_SPEC>>§
pub 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§
§impl From<W<CCMR2_INPUT_SPEC>> for W
impl From<W<CCMR2_INPUT_SPEC>> for W
§fn 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§
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