pub struct W(_);
Expand description
Register BDCR
writer
Implementations
sourceimpl 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
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