pub struct W(/* private fields */);
Expand description
Register BDCR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn bdrst(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, BDRST_A, BitM, 16>
pub fn bdrst(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, BDRST_A, BitM, 16>
Bit 16 - Backup domain software reset
Sourcepub fn rtcen(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, RTCEN_A, BitM, 15>
pub fn rtcen(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, RTCEN_A, BitM, 15>
Bit 15 - RTC clock enable
Sourcepub fn lsebyp(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSEBYP_A, BitM, 2>
pub fn lsebyp(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSEBYP_A, BitM, 2>
Bit 2 - External low-speed oscillator bypass
Sourcepub fn lseon(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSEON_A, BitM, 0>
pub fn lseon(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSEON_A, BitM, 0>
Bit 0 - External low-speed oscillator enable
Methods from Deref<Target = W<BDCR_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§
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