Struct W
pub struct W(/* private fields */);
Expand description
Register TTOST
writer
Implementations§
§impl W
impl W
pub 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
pub 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.
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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.
pub 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
pub 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.
pub 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
pub 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
pub 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
pub 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>>§
pub 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§
§impl From<W<TTOST_SPEC>> for W
impl From<W<TTOST_SPEC>> for W
§fn from(writer: W<TTOST_SPEC>) -> W
fn from(writer: W<TTOST_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more