Type Alias xmc4300::eth0::timestamp_control::W

source ·
pub type W = W<TimestampControlSpec>;
Expand description

Register TIMESTAMP_CONTROL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tsena(&mut self) -> TsenaW<'_, TimestampControlSpec>

Bit 0 - Timestamp Enable

source

pub fn tscfupdt(&mut self) -> TscfupdtW<'_, TimestampControlSpec>

Bit 1 - Timestamp Fine or Coarse Update

source

pub fn tsinit(&mut self) -> TsinitW<'_, TimestampControlSpec>

Bit 2 - Timestamp Initialize

source

pub fn tsupdt(&mut self) -> TsupdtW<'_, TimestampControlSpec>

Bit 3 - Timestamp Update

source

pub fn tstrig(&mut self) -> TstrigW<'_, TimestampControlSpec>

Bit 4 - Timestamp Interrupt Trigger Enable

source

pub fn tsaddreg(&mut self) -> TsaddregW<'_, TimestampControlSpec>

Bit 5 - Addend Reg Update

source

pub fn tsenall(&mut self) -> TsenallW<'_, TimestampControlSpec>

Bit 8 - Enable Timestamp for All Frames

source

pub fn tsctrlssr(&mut self) -> TsctrlssrW<'_, TimestampControlSpec>

Bit 9 - Timestamp Digital or Binary Rollover Control

source

pub fn tsver2ena(&mut self) -> Tsver2enaW<'_, TimestampControlSpec>

Bit 10 - Enable PTP packet Processing for Version 2 Format

source

pub fn tsipena(&mut self) -> TsipenaW<'_, TimestampControlSpec>

Bit 11 - Enable Processing of PTP over Ethernet Frames

source

pub fn tsipv6ena(&mut self) -> Tsipv6enaW<'_, TimestampControlSpec>

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

source

pub fn tsipv4ena(&mut self) -> Tsipv4enaW<'_, TimestampControlSpec>

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

source

pub fn tsevntena(&mut self) -> TsevntenaW<'_, TimestampControlSpec>

Bit 14 - Enable Timestamp Snapshot for Event Messages

source

pub fn tsmstrena(&mut self) -> TsmstrenaW<'_, TimestampControlSpec>

Bit 15 - Enable Snapshot for Messages Relevant to Master

source

pub fn snaptypsel(&mut self) -> SnaptypselW<'_, TimestampControlSpec>

Bits 16:17 - Select PTP packets for Taking Snapshots

source

pub fn tsenmacaddr(&mut self) -> TsenmacaddrW<'_, TimestampControlSpec>

Bit 18 - Enable MAC address for PTP Frame Filtering