09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RM0090</strong> Ethernet (ETH): media access control (MAC) with DMA controller<br />

Figure 353. Enhanced receive descriptor field format with IEEE1588 time stamp<br />

enabled<br />

RDES 0<br />

RDES 1<br />

RDES 2<br />

RDES 3<br />

RDES 4<br />

RDES 5<br />

RDES 6<br />

RDES 7<br />

31 0<br />

O<br />

W<br />

N<br />

CT<br />

RL<br />

Reserved<br />

[30:29]<br />

Buffer 2 byte count<br />

[28:16]<br />

● RDES4: Receive descriptor Word4<br />

Status [30:0]<br />

CTRL<br />

[15:14]<br />

Buffer 1 address [31:0]<br />

Buffer 2 address [31:0] or Next descriptor address [31:0]<br />

Extended Status [31:0]<br />

Reserved<br />

Time stamp low [31:0]<br />

Time stamp high [31:0]<br />

Buffer 1 byte count<br />

[12:0]<br />

The extended status, shown below, is valid only when there is status related to IPv4<br />

checksum or time stamp available as indicated by bit 0 in RDES0.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

PV<br />

PFT<br />

Res.<br />

PMT<br />

ai17104<br />

Doc ID 018909 Rev 3 964/1416<br />

IPV6PR<br />

IPV4PR<br />

IPCB<br />

IPPE<br />

IPHE<br />

IPPT<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:14 Reserved, must be kept at reset value.<br />

Bit 13 PV: PTP version<br />

When set, indicates that the received PTP message uses the IEEE 1588 version 2 format.<br />

When cleared, it uses version 1 format. This is valid only if the message type is non-zero.<br />

Bit 12 PFT: PTP frame type<br />

When set, this bit indicates that the PTP message is sent directly over Ethernet. When this bit<br />

is cleared and the message type is non-zero, it indicates that the PTP message is sent over<br />

UDP-IPv4 or UDP-IPv6. The information on IPv4 or IPv6 can be obtained from bits 6 and 7.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!