Struct gd32vf103_pac::timer0::chctl0_input::W
source · pub struct W(_);
Expand description
Register CHCTL0_Input
writer
Implementations§
source§impl W
impl W
sourcepub fn ch0cappsc(&mut self) -> CH0CAPPSC_W<'_, 2>
pub fn ch0cappsc(&mut self) -> CH0CAPPSC_W<'_, 2>
Bits 2:3 - Channel 0 input capture prescaler
sourcepub fn ch0capflt(&mut self) -> CH0CAPFLT_W<'_, 4>
pub fn ch0capflt(&mut self) -> CH0CAPFLT_W<'_, 4>
Bits 4:7 - Channel 0 input capture filter control
sourcepub fn ch1cappsc(&mut self) -> CH1CAPPSC_W<'_, 10>
pub fn ch1cappsc(&mut self) -> CH1CAPPSC_W<'_, 10>
Bits 10:11 - Channel 1 input capture prescaler
sourcepub fn ch1capflt(&mut self) -> CH1CAPFLT_W<'_, 12>
pub fn ch1capflt(&mut self) -> CH1CAPFLT_W<'_, 12>
Bits 12:15 - Channel 1 input capture filter control
Methods from Deref<Target = W<CHCTL0_INPUT_SPEC>>§
Trait Implementations§
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