pub struct W(_);
Expand description
Register BDCR
writer
Implementations
sourceimpl W
impl W
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 - LSE oscillator enabled
sourcepub fn lserdy(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSERDY_A, BitM, 1>
pub fn lserdy(&mut self) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSERDY_A, BitM, 1>
Bit 1 - LSE oscillator ready
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 - LSE oscillator bypass
sourcepub fn lsedrv(
&mut self
) -> FieldWriterRaw<'_, u32, BDCR_SPEC, u8, LSEDRV_A, Safe, 2, 3>
pub fn lsedrv(
&mut self
) -> FieldWriterRaw<'_, u32, BDCR_SPEC, u8, LSEDRV_A, Safe, 2, 3>
Bits 3:4 - LSE oscillator driving capability
sourcepub fn lsecsson(
&mut self
) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSECSSON_A, BitM, 5>
pub fn lsecsson(
&mut self
) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSECSSON_A, BitM, 5>
Bit 5 - LSE clock security system enable
sourcepub fn lsecssd(
&mut self
) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSECSSD_A, BitM, 6>
pub fn lsecssd(
&mut self
) -> BitWriterRaw<'_, u32, BDCR_SPEC, LSECSSD_A, BitM, 6>
Bit 6 - LSE clock security system failure detection
sourcepub fn rtcsel(
&mut self
) -> FieldWriterRaw<'_, u32, BDCR_SPEC, u8, RTCSEL_A, Safe, 2, 8>
pub fn rtcsel(
&mut self
) -> FieldWriterRaw<'_, u32, BDCR_SPEC, u8, RTCSEL_A, Safe, 2, 8>
Bits 8:9 - RTC clock source selection
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
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