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

source

pub fn tsena(&mut self) -> TSENA_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 0 - Timestamp Enable

source

pub fn tscfupdt(&mut self) -> TSCFUPDT_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 1 - Timestamp Fine or Coarse Update

source

pub fn tsinit(&mut self) -> TSINIT_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 2 - Timestamp Initialize

source

pub fn tsupdt(&mut self) -> TSUPDT_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 3 - Timestamp Update

source

pub fn tstrig(&mut self) -> TSTRIG_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 4 - Timestamp Interrupt Trigger Enable

source

pub fn tsaddreg(&mut self) -> TSADDREG_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 5 - Addend Reg Update

source

pub fn tsenall(&mut self) -> TSENALL_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 8 - Enable Timestamp for All Frames

source

pub fn tsctrlssr(&mut self) -> TSCTRLSSR_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 9 - Timestamp Digital or Binary Rollover Control

source

pub fn tsver2ena(&mut self) -> TSVER2ENA_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 10 - Enable PTP packet Processing for Version 2 Format

source

pub fn tsipena(&mut self) -> TSIPENA_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 11 - Enable Processing of PTP over Ethernet Frames

source

pub fn tsipv6ena(&mut self) -> TSIPV6ENA_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 12 - Enable Processing of PTP Frames Sent Over IPv6-UDP

source

pub fn tsipv4ena(&mut self) -> TSIPV4ENA_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 13 - Enable Processing of PTP Frames Sent over IPv4-UDP

source

pub fn tsevntena(&mut self) -> TSEVNTENA_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 14 - Enable Timestamp Snapshot for Event Messages

source

pub fn tsmstrena(&mut self) -> TSMSTRENA_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 15 - Enable Snapshot for Messages Relevant to Master

source

pub fn snaptypsel(&mut self) -> SNAPTYPSEL_W<'_, TIMESTAMP_CONTROL_SPEC>

Bits 16:17 - Select PTP packets for Taking Snapshots

source

pub fn tsenmacaddr(&mut self) -> TSENMACADDR_W<'_, TIMESTAMP_CONTROL_SPEC>

Bit 18 - Enable MAC address for PTP Frame Filtering