pub struct W(/* private fields */);
Expand description
Register CR
writer
Implementations§
§impl W
impl W
pub 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
pub 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>>§
pub 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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more