pub struct W(_);
Expand description
Register CTL0
writer
Implementations
sourceimpl W
impl W
sourcepub fn slp_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, SLP_HOLD_A, BitM, 0_u8>
pub fn slp_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, SLP_HOLD_A, BitM, 0_u8>
Bit 0 - Sleep mode hold register
sourcepub fn dslp_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, DSLP_HOLD_A, BitM, 1_u8>
pub fn dslp_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, DSLP_HOLD_A, BitM, 1_u8>
Bit 1 - Deep-sleep mode hold register
sourcepub fn stb_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, STB_HOLD_A, BitM, 2_u8>
pub fn stb_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, STB_HOLD_A, BitM, 2_u8>
Bit 2 - Standby mode hold register
sourcepub fn fwdgt_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, FWDGT_HOLD_A, BitM, 8_u8>
pub fn fwdgt_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, FWDGT_HOLD_A, BitM, 8_u8>
Bit 8 - FWDGT hold register
sourcepub fn wwdgt_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, FWDGT_HOLD_A, BitM, 8_u8>
pub fn wwdgt_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, FWDGT_HOLD_A, BitM, 8_u8>
Bit 9 - WWDGT hold register
sourcepub fn timer0_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
pub fn timer0_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
Bit 10 - Timer 0 hold register
sourcepub fn timer1_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
pub fn timer1_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
Bit 11 - Timer 1 hold register
sourcepub fn timer2_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
pub fn timer2_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
Bit 12 - Timer 2 hold register
sourcepub fn i2c0_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, I2C0_HOLD_A, BitM, 15_u8>
pub fn i2c0_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, I2C0_HOLD_A, BitM, 15_u8>
Bit 15 - I2C0 hold register
sourcepub fn i2c1_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, I2C0_HOLD_A, BitM, 15_u8>
pub fn i2c1_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, I2C0_HOLD_A, BitM, 15_u8>
Bit 16 - I2C1 hold register
sourcepub fn i2c2_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, I2C0_HOLD_A, BitM, 15_u8>
pub fn i2c2_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, I2C0_HOLD_A, BitM, 15_u8>
Bit 17 - I2C2 hold register
sourcepub fn timer5_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
pub fn timer5_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
Bit 19 - Timer 5 hold register
sourcepub fn timer13_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
pub fn timer13_hold(
&mut self
) -> BitWriterRaw<'_, u32, CTL0_SPEC, TIMER0_HOLD_A, BitM, 10_u8>
Bit 27 - Timer 13 hold register
Methods from Deref<Target = W<CTL0_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