pub struct W(_);
Expand description
Register CTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn bkpwen(
&mut self
) -> BitWriterRaw<'_, u32, CTL_SPEC, BKPWEN_A, BitM, 8_u8>
pub fn bkpwen(
&mut self
) -> BitWriterRaw<'_, u32, CTL_SPEC, BKPWEN_A, BitM, 8_u8>
Bit 8 - Backup Domain Write Enable
sourcepub fn lvdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, LVDT_A, Safe, 3_u8, 5_u8>
pub fn lvdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, LVDT_A, Safe, 3_u8, 5_u8>
Bits 5:7 - Low Voltage Detector Threshold
sourcepub fn lvden(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, LVDEN_A, BitM, 4_u8>
pub fn lvden(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, LVDEN_A, BitM, 4_u8>
Bit 4 - Low Voltage Detector Enable
sourcepub fn stbrst(
&mut self
) -> BitWriterRaw<'_, u32, CTL_SPEC, STBRST_A, BitM, 3_u8>
pub fn stbrst(
&mut self
) -> BitWriterRaw<'_, u32, CTL_SPEC, STBRST_A, BitM, 3_u8>
Bit 3 - Standby Flag Reset
sourcepub fn wurst(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, WURST_A, BitM, 2_u8>
pub fn wurst(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, WURST_A, BitM, 2_u8>
Bit 2 - Wakeup Flag Reset
sourcepub fn stbmod(
&mut self
) -> BitWriterRaw<'_, u32, CTL_SPEC, STBMOD_A, BitM, 1_u8>
pub fn stbmod(
&mut self
) -> BitWriterRaw<'_, u32, CTL_SPEC, STBMOD_A, BitM, 1_u8>
Bit 1 - Standby Mode
Methods from Deref<Target = W<CTL_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 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