pub struct W(_);
Expand description
Register BDCR
writer
Implementations§
source§impl 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 - External Low Speed oscillator 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 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.