pub struct W(_);
Expand description
Register BDCTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn lxtalen(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, LXTALEN_A, BitM, 0_u8>
pub fn lxtalen(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, LXTALEN_A, BitM, 0_u8>
Bit 0 - LXTAL enable
sourcepub fn lxtalbps(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, LXTALBPS_A, BitM, 2_u8>
pub fn lxtalbps(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, LXTALBPS_A, BitM, 2_u8>
Bit 2 - LXTAL bypass mode enable
sourcepub fn lxtaldri(
&mut self
) -> FieldWriterRaw<'_, u32, BDCTL_SPEC, u8, LXTALDRI_A, Safe, 2_u8, 3_u8>
pub fn lxtaldri(
&mut self
) -> FieldWriterRaw<'_, u32, BDCTL_SPEC, u8, LXTALDRI_A, Safe, 2_u8, 3_u8>
Bits 3:4 - LXTAL drive capability
sourcepub fn rtcsrc(
&mut self
) -> FieldWriterRaw<'_, u32, BDCTL_SPEC, u8, RTCSRC_A, Safe, 2_u8, 8_u8>
pub fn rtcsrc(
&mut self
) -> FieldWriterRaw<'_, u32, BDCTL_SPEC, u8, RTCSRC_A, Safe, 2_u8, 8_u8>
Bits 8:9 - RTC clock entry selection
sourcepub fn rtcen(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, RTCEN_A, BitM, 15_u8>
pub fn rtcen(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, RTCEN_A, BitM, 15_u8>
Bit 15 - RTC clock enable
sourcepub fn bkprst(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, BKPRST_A, BitM, 16_u8>
pub fn bkprst(
&mut self
) -> BitWriterRaw<'_, u32, BDCTL_SPEC, BKPRST_A, BitM, 16_u8>
Bit 16 - Backup domain reset
Methods from Deref<Target = W<BDCTL_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
sourceimpl From<W<BDCTL_SPEC>> for W
impl From<W<BDCTL_SPEC>> for W
sourcefn from(writer: W<BDCTL_SPEC>) -> W
fn from(writer: W<BDCTL_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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