pub struct W(_);
Expand description
Register CTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn cdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 4_u8, 28_u8>
pub fn cdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 4_u8, 28_u8>
Bits 28:31 - Charge State Duration Time
sourcepub fn ctdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 4_u8, 24_u8>
pub fn ctdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 4_u8, 24_u8>
Bits 24:27 - Charge Transfer State Duration Time
sourcepub fn ecdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 7_u8, 17_u8>
pub fn ecdt(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 7_u8, 17_u8>
Bits 17:23 - Extend Charge State Maximum Duration Time
sourcepub fn ecen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 16_u8>
pub fn ecen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 16_u8>
Bit 16 - Extend Charge State Enable
sourcepub fn ecdiv(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 15_u8>
pub fn ecdiv(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 15_u8>
Bit 15 - ECCLK clock division factor
sourcepub fn ctcdiv(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 3_u8, 12_u8>
pub fn ctcdiv(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 3_u8, 12_u8>
Bits 12:14 - CTCLK clock division factor
sourcepub fn mcn(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 3_u8, 5_u8>
pub fn mcn(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 3_u8, 5_u8>
Bits 5:7 - Max cycle number of a sequence
sourcepub fn egsel(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 3_u8>
pub fn egsel(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 3_u8>
Bit 3 - Edge selection
sourcepub fn trgmod(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 2_u8>
pub fn trgmod(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 2_u8>
Bit 2 - Trigger mode selection
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