pub struct W(_);
Expand description
Register CFGR
writer
Implementations
sourceimpl W
impl W
sourcepub fn reload(&mut self) -> RELOAD_W<'_, 0>
pub fn reload(&mut self) -> RELOAD_W<'_, 0>
Bits 0:15 - Counter reload value RELOAD is the value to be loaded in the frequency error counter with each SYNC event. Refer to Section7.3.3: Frequency error measurement for more details about counter behavior.
sourcepub fn felim(&mut self) -> FELIM_W<'_, 16>
pub fn felim(&mut self) -> FELIM_W<'_, 16>
Bits 16:23 - Frequency error limit FELIM contains the value to be used to evaluate the captured frequency error value latched in the FECAP[15:0] bits of the CRS_ISR register. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details about FECAP evaluation.
sourcepub fn syncdiv(&mut self) -> SYNCDIV_W<'_, 24>
pub fn syncdiv(&mut self) -> SYNCDIV_W<'_, 24>
Bits 24:26 - SYNC divider These bits are set and cleared by software to control the division factor of the SYNC signal.
sourcepub fn syncsrc(&mut self) -> SYNCSRC_W<'_, 28>
pub fn syncsrc(&mut self) -> SYNCSRC_W<'_, 28>
Bits 28:29 - SYNC signal source selection These bits are set and cleared by software to select the SYNC signal source. Note: When using USB LPM (Link Power Management) and the device is in Sleep mode, the periodic USB SOF will not be generated by the host. No SYNC signal will therefore be provided to the CRS to calibrate the HSI48 on the run. To guarantee the required clock precision after waking up from Sleep mode, the LSE or reference clock on the GPIOs should be used as SYNC signal.
Methods from Deref<Target = W<CFGR_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