Struct stm32f1xx_hal::pac::tim9::ccmr1_input::W
source · pub struct W(_);
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, 4, 12>
pub fn ic2f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 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, 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, 4, 4>
pub fn ic1f(
&mut self
) -> FieldWriterRaw<'_, u32, CCMR1_INPUT_SPEC, u8, u8, Unsafe, 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.