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 />

Bit 31 STPNS: System time positive or negative sign<br />

This bit indicates a positive or negative time value. When set, the bit indicates that time<br />

representation is negative. When cleared, it indicates that time representation is positive.<br />

Because the system time should always be positive, this bit is normally zero.<br />

Bits 30:0 STSS: System time subseconds<br />

The value in this field has the subsecond time representation, with 0.46 ns accuracy.<br />

Ethernet PTP time stamp high update register (ETH_PTPTSHUR)<br />

Address offset: 0x0710<br />

Reset value: 0x0000 0000<br />

This register contains the most significant (higher) 32 bits of the time to be written to, added<br />

to, or subtracted from the System Time value. The Time stamp high update register, along<br />

with the Time stamp update low register, initializes or updates the system time maintained<br />

by the MAC. You have to write both of these registers before setting the TSSTI or TSSTU<br />

bits in the Time stamp control register.<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 />

TSUS<br />

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

Bits 31:0 TSUS: Time stamp update second<br />

The value in this field indicates the time, in seconds, to be initialized or added to the system<br />

time.<br />

Doc ID 018909 Rev 3 996/1416

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

Saved successfully!

Ooh no, something went wrong!