pub type R = R<CR1rs>;
Expand description
Register CR1
reader
Aliased Type§
pub struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn cen(&self) -> CEN_R
pub fn cen(&self) -> CEN_R
Bit 0 - Counter enable Note: External clock, gated mode and encoder 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. CEN is cleared automatically in one-pulse mode, when an update event occurs.
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 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(&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 UEV event sources. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller
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 (tim_ker_ck) frequency and sampling clock used by the digital filters (tim_etr_in, tim_tix),
Sourcepub fn uifremap(&self) -> UIFREMAP_R
pub fn uifremap(&self) -> UIFREMAP_R
Bit 11 - UIF status bit remapping