pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn rngen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, RNGEN_A, BitM, 2>
pub fn rngen(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, RNGEN_A, BitM, 2>
Bit 2 - Random number generator enable
sourcepub fn ced(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CED_A, BitM, 5>
pub fn ced(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CED_A, BitM, 5>
Bit 5 - Clock error detection Note: The clock error detection can be used only when ck_rc48 or ck_pll1_q (ck_pll1_q = 48MHz) source is selected otherwise, CED bit must be equal to 1. The clock error detection cannot be enabled nor disabled on the fly when RNG peripheral is enabled, to enable or disable CED the RNG must be disabled.
Methods from Deref<Target = W<CR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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