pub struct W(_);
Expand description
Register TTOST
writer
Implementations
sourceimpl W
impl W
sourcepub fn el(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 2, 0>
pub fn el(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Error Level
sourcepub fn ms(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 2, 2>
pub fn ms(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - Master State.
sourcepub fn sys(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 2, 4>
pub fn sys(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - Synchronization State
sourcepub fn qgtp(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 6>
pub fn qgtp(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 6>
Bit 6 - Quality of Global Time Phase
sourcepub fn qcs(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 7>
pub fn qcs(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 7>
Bit 7 - Quality of Clock Speed
sourcepub fn rto(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 8, 8>
pub fn rto(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - Reference Trigger Offset
sourcepub fn wgtd(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 22>
pub fn wgtd(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 22>
Bit 22 - Wait for Global Time Discontinuity
sourcepub fn gfi(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 23>
pub fn gfi(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 23>
Bit 23 - Gap Finished Indicator.
sourcepub fn tmp(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 3, 24>
pub fn tmp(
&mut self
) -> FieldWriterRaw<'_, u32, TTOST_SPEC, u8, u8, Unsafe, 3, 24>
Bits 24:26 - Time Master Priority
sourcepub fn gsi(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 27>
pub fn gsi(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 27>
Bit 27 - Gap Started Indicator.
sourcepub fn wfe(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 28>
pub fn wfe(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 28>
Bit 28 - Wait for Event
sourcepub fn awe(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 29>
pub fn awe(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 29>
Bit 29 - Application Watchdog Event
sourcepub fn wecs(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 30>
pub fn wecs(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 30>
Bit 30 - Wait for External Clock Synchronization
sourcepub fn spl(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 31>
pub fn spl(&mut self) -> BitWriterRaw<'_, u32, TTOST_SPEC, bool, BitM, 31>
Bit 31 - Schedule Phase Lock
Methods from Deref<Target = W<TTOST_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<TTOST_SPEC>> for W
impl From<W<TTOST_SPEC>> for W
sourcefn from(writer: W<TTOST_SPEC>) -> W
fn from(writer: W<TTOST_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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