pub struct W(_);
Expand description
Register CTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn tseg(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 3_u8>
pub fn tseg(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 3_u8>
Bit 3 - Valid event edge of time-stamp
sourcepub fn refen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 4_u8>
pub fn refen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 4_u8>
Bit 4 - Reference clock detection function enable
sourcepub fn bpshad(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 5_u8>
pub fn bpshad(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 5_u8>
Bit 5 - Shadow registers bypass control
sourcepub fn alrm0en(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 8_u8>
pub fn alrm0en(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 8_u8>
Bit 8 - Alarm-0 function enable
sourcepub fn tsen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 11_u8>
pub fn tsen(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 11_u8>
Bit 11 - time-stamp function enable
sourcepub fn alrm0ie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 12_u8>
pub fn alrm0ie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 12_u8>
Bit 12 - RTC alarm-0 interrupt enable
sourcepub fn tsie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 15_u8>
pub fn tsie(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 15_u8>
Bit 15 - Time-stamp interrupt enable
sourcepub fn a1h(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 16_u8>
pub fn a1h(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 16_u8>
Bit 16 - Add 1 hour(summer time change
sourcepub fn s1h(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 17_u8>
pub fn s1h(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 17_u8>
Bit 17 - Subtract 1 hour(winter time change)
sourcepub fn dsm(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 18_u8>
pub fn dsm(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 18_u8>
Bit 18 - Daylight saving mark
sourcepub fn cos(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 19_u8>
pub fn cos(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 19_u8>
Bit 19 - Calibration output selection
sourcepub fn opol(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 20_u8>
pub fn opol(&mut self) -> BitWriterRaw<'_, u32, CTL_SPEC, bool, BitM, 20_u8>
Bit 20 - Output polarity
sourcepub fn os(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 2_u8, 21_u8>
pub fn os(
&mut self
) -> FieldWriterRaw<'_, u32, CTL_SPEC, u8, u8, Unsafe, 2_u8, 21_u8>
Bits 21:22 - Output 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