pub struct W(_);
Expand description
Register CR1
writer
Implementations
sourceimpl W
impl W
sourcepub fn cen(&mut self) -> CEN_W<'_, 0>
pub fn cen(&mut self) -> CEN_W<'_, 0>
Bit 0 - Counter enable Note: External clock and gated mode can work only if the CEN bit has been previously set by software. However trigger mode can set the CEN bit automatically by hardware.
sourcepub fn udis(&mut self) -> UDIS_W<'_, 1>
pub fn udis(&mut self) -> UDIS_W<'_, 1>
Bit 1 - Update disable This bit is set and cleared by software to enable/disable UEV event generation. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller Buffered registers are then loaded with their preload values.
sourcepub fn urs(&mut self) -> URS_W<'_, 2>
pub fn urs(&mut self) -> URS_W<'_, 2>
Bit 2 - Update request source This bit is set and cleared by software to select the UEV event sources. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller
sourcepub fn ckd(&mut self) -> CKD_W<'_, 8>
pub fn ckd(&mut self) -> CKD_W<'_, 8>
Bits 8:9 - Clock division This bit-field indicates the division ratio between the timer clock (CK_INT) frequency and the dead-time and sampling clock (tDTS)used by the dead-time generators and the digital filters (TIx),
sourcepub fn uifremap(&mut self) -> UIFREMAP_W<'_, 11>
pub fn uifremap(&mut self) -> UIFREMAP_W<'_, 11>
Bit 11 - UIF status bit remapping
Methods from Deref<Target = W<CR1_SPEC>>
Trait Implementations
Auto Trait Implementations
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