pub struct R(_);
Expand description
Register CR1
reader
Implementations
sourceimpl R
impl R
sourcepub fn cen(&self) -> CEN_R
pub fn cen(&self) -> CEN_R
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(&self) -> UDIS_R
pub fn udis(&self) -> UDIS_R
Bit 1 - Update disable This bit is set and cleared by software to enable/disable update interrupt (UEV) event generation. Counter overflow Setting the UG bit. Buffered registers are then loaded with their preload values.
sourcepub fn urs(&self) -> URS_R
pub fn urs(&self) -> URS_R
Bit 2 - Update request source This bit is set and cleared by software to select the update interrupt (UEV) sources. Counter overflow Setting the UG bit
sourcepub fn ckd(&self) -> CKD_R
pub fn ckd(&self) -> CKD_R
Bits 8:9 - Clock division This bit-field indicates the division ratio between the timer clock (CK_INT) frequency and sampling clock used by the digital filters (TIx),
sourcepub fn uifremap(&self) -> UIFREMAP_R
pub fn uifremap(&self) -> UIFREMAP_R
Bit 11 - UIF status bit remapping
Methods from Deref<Target = R<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