Struct stm32f1xx_hal::pac::ethernet_ptp::ptptscr::W
source · pub struct W(_);
Expand description
Register PTPTSCR
writer
Implementations§
source§impl W
impl W
sourcepub fn tse(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 0>
pub fn tse(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 0>
Bit 0 - Time stamp enable
sourcepub fn tsfcu(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 1>
pub fn tsfcu(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 1>
Bit 1 - Time stamp fine or coarse update
sourcepub fn tssti(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 2>
pub fn tssti(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 2>
Bit 2 - Time stamp system time initialize
sourcepub fn tsstu(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 3>
pub fn tsstu(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 3>
Bit 3 - Time stamp system time update
sourcepub fn tsite(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 4>
pub fn tsite(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 4>
Bit 4 - Time stamp interrupt trigger enable
sourcepub fn tsaru(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 5>
pub fn tsaru(&mut self) -> BitWriterRaw<'_, u32, PTPTSCR_SPEC, bool, BitM, 5>
Bit 5 - Time stamp addend register update
Methods from Deref<Target = W<PTPTSCR_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.