Type Alias xmc4800::eth0::timestamp_control::W
source · pub type W = W<TIMESTAMP_CONTROL_SPEC>;
Expand description
Register TIMESTAMP_CONTROL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn tsena(&mut self) -> TSENA_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsena(&mut self) -> TSENA_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 0 - Timestamp Enable
sourcepub fn tscfupdt(&mut self) -> TSCFUPDT_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tscfupdt(&mut self) -> TSCFUPDT_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 1 - Timestamp Fine or Coarse Update
sourcepub fn tsinit(&mut self) -> TSINIT_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsinit(&mut self) -> TSINIT_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 2 - Timestamp Initialize
sourcepub fn tsupdt(&mut self) -> TSUPDT_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsupdt(&mut self) -> TSUPDT_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 3 - Timestamp Update
sourcepub fn tstrig(&mut self) -> TSTRIG_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tstrig(&mut self) -> TSTRIG_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 4 - Timestamp Interrupt Trigger Enable
sourcepub fn tsaddreg(&mut self) -> TSADDREG_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsaddreg(&mut self) -> TSADDREG_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 5 - Addend Reg Update
sourcepub fn tsenall(&mut self) -> TSENALL_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsenall(&mut self) -> TSENALL_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 8 - Enable Timestamp for All Frames
sourcepub fn tsctrlssr(&mut self) -> TSCTRLSSR_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsctrlssr(&mut self) -> TSCTRLSSR_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 9 - Timestamp Digital or Binary Rollover Control
sourcepub fn tsver2ena(&mut self) -> TSVER2ENA_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsver2ena(&mut self) -> TSVER2ENA_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 10 - Enable PTP packet Processing for Version 2 Format
sourcepub fn tsipena(&mut self) -> TSIPENA_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsipena(&mut self) -> TSIPENA_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 11 - Enable Processing of PTP over Ethernet Frames
sourcepub fn tsipv6ena(&mut self) -> TSIPV6ENA_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsipv6ena(&mut self) -> TSIPV6ENA_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 12 - Enable Processing of PTP Frames Sent Over IPv6-UDP
sourcepub fn tsipv4ena(&mut self) -> TSIPV4ENA_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsipv4ena(&mut self) -> TSIPV4ENA_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 13 - Enable Processing of PTP Frames Sent over IPv4-UDP
sourcepub fn tsevntena(&mut self) -> TSEVNTENA_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsevntena(&mut self) -> TSEVNTENA_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 14 - Enable Timestamp Snapshot for Event Messages
sourcepub fn tsmstrena(&mut self) -> TSMSTRENA_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsmstrena(&mut self) -> TSMSTRENA_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 15 - Enable Snapshot for Messages Relevant to Master
sourcepub fn snaptypsel(&mut self) -> SNAPTYPSEL_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn snaptypsel(&mut self) -> SNAPTYPSEL_W<'_, TIMESTAMP_CONTROL_SPEC>
Bits 16:17 - Select PTP packets for Taking Snapshots
sourcepub fn tsenmacaddr(&mut self) -> TSENMACADDR_W<'_, TIMESTAMP_CONTROL_SPEC>
pub fn tsenmacaddr(&mut self) -> TSENMACADDR_W<'_, TIMESTAMP_CONTROL_SPEC>
Bit 18 - Enable MAC address for PTP Frame Filtering