[][src]Type Definition lpc54606_pac::enet::mac_timestamp_ctrl::R

type R = R<u32, MAC_TIMESTAMP_CTRL>;

Reader of register MAC_TIMESTAMP_CTRL

Methods

impl R[src]

pub fn tsena(&self) -> TSENA_R[src]

Bit 0 - Enable Timestamp When this bit is set, the timestamp is added for Transmit and Receive packets.

pub fn tscfupdt(&self) -> TSCFUPDT_R[src]

Bit 1 - Fine or Coarse Timestamp Update When this bit is set, the Fine method is used to update system timestamp.

pub fn tsinit(&self) -> TSINIT_R[src]

Bit 2 - Initialize Timestamp When this bit is set, the system time is initialized (overwritten) with the value specified in the MAC Register 80 (System Time Seconds Update.

pub fn tsupdt(&self) -> TSUPDT_R[src]

Bit 3 - Update Timestamp When this bit is set, the system time is updated (added or subtracted) with the value specified in MAC System Time Seconds Update Table 753 and MAC System Time Nanoseconds Update Table 754.

pub fn tstrig(&self) -> TSTRIG_R[src]

Bit 4 - Enable Timestamp Interrupt Trigger When this bit is set, the timestamp interrupt is generated when the System Time becomes greater than the value written in the Target Time register.

pub fn taddreg(&self) -> TADDREG_R[src]

Bit 5 - Update Addend Register When this bit is set, the content of the Timestamp Addend register is updated in the PTP block for fine correction.

pub fn tsenall(&self) -> TSENALL_R[src]

Bit 8 - Enable Timestamp for All Packets When this bit is set, the timestamp snapshot is enabled for all packets received by the MAC.

pub fn tsctrlssr(&self) -> TSCTRLSSR_R[src]

Bit 9 - Timestamp Digital or Binary Rollover Control When this bit is set, the Timestamp Low register rolls over after 0x3B9AC9FF value (that is, 1 nanosecond accuracy) and increments the timestamp (High) seconds.

pub fn tsver2ena(&self) -> TSVER2ENA_R[src]

Bit 10 - Enable PTP Packet Processing for Version 2 Format When this bit is set, the IEEE 1588 version 2 format is used to process the PTP packets.

pub fn tsipena(&self) -> TSIPENA_R[src]

Bit 11 - Enable Processing of PTP over Ethernet Packets When this bit is set, the MAC receiver processes the PTP packets encapsulated directly in the Ethernet packets.

pub fn tsipv6ena(&self) -> TSIPV6ENA_R[src]

Bit 12 - Enable Processing of PTP Packets Sent over 1Pv6-UDP When this bit is set, the MAC receiver processes the PTP packets encapsulated in IPv6-UDP packets.

pub fn tsipv4ena(&self) -> TSIPV4ENA_R[src]

Bit 13 - Enable Processing of PTP Packets Sent over IPv4-UDP When this bit is set, the MAC receiver processes the PTP packets encapsulated in IPv4-UDP packets.

pub fn tsevtena(&self) -> TSEVTENA_R[src]

Bit 14 - Enable Timestamp Snapshot for Event Messages When this bit is set, the timestamp snapshot is taken only for event messages (SYNC, Delay_Req, Pdelay_Req, or Pdelay_Resp).

pub fn tsmstrena(&self) -> TSMSTRENA_R[src]

Bit 15 - Enable Snapshot for Messages Relevant to Master When this bit is set, the snapshot is taken only for the messages that are relevant to the master node.

pub fn snaptypsel(&self) -> SNAPTYPSEL_R[src]

Bits 16:17 - Select PTP packets for Taking Snapshots These bits, along with Bits 15 and 14, decide the set of PTP packet types for which snapshot needs to be taken.

pub fn tsenmacaddr(&self) -> TSENMACADDR_R[src]

Bit 18 - Enable MAC Address for PTP Packet Filtering When this bit is set, the DA MAC address (that matches any MAC Address register) is used to filter the PTP packets when PTP is directly sent over Ethernet.

pub fn txttsstsm(&self) -> TXTTSSTSM_R[src]

Bit 24 - Transmit Timestamp Status Mode When this bit is set, the MAC overwrites the earlier transmit timestamp status even if it is not read by the software.

pub fn av8021asmen(&self) -> AV8021ASMEN_R[src]

Bit 28 - AV 802.