pub struct CTMODE_W<'a> { /* private fields */ }
Expand description
Field CTMODE
writer - Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer’s Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register.
Implementations
sourceimpl<'a> CTMODE_W<'a>
impl<'a> CTMODE_W<'a>
sourcepub fn counter_rising_edge(self) -> &'a mut W
pub fn counter_rising_edge(self) -> &'a mut W
Counter Mode rising edge. TC is incremented on rising edges on the CAP input selected by bits 3:2.
sourcepub fn counter_falling_edge(self) -> &'a mut W
pub fn counter_falling_edge(self) -> &'a mut W
Counter Mode falling edge. TC is incremented on falling edges on the CAP input selected by bits 3:2.
sourcepub fn counter_dual_edge(self) -> &'a mut W
pub fn counter_dual_edge(self) -> &'a mut W
Counter Mode dual edge. TC is incremented on both edges on the CAP input selected by bits 3:2.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CTMODE_W<'a>
impl<'a> Send for CTMODE_W<'a>
impl<'a> Sync for CTMODE_W<'a>
impl<'a> Unpin for CTMODE_W<'a>
impl<'a> !UnwindSafe for CTMODE_W<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more