29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

RM0008<br />

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

Ethernet PTP time stamp addend register (ETH_PTPTSAR)<br />

Address offset: 0x0718<br />

Reset value: 0x0000 0000<br />

This register is used by the software to readjust the clock frequency linearly to match the<br />

master clock frequency. This register value is used only when the system time is configured<br />

for Fine update mode (TSFCU bit in ETH_PTPTSCR). This register content is added to a<br />

32-bit accumulator in every clock cycle <strong>and</strong> the system time is updated whenever the<br />

accumulator overflows.<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 />

TSA<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 TSA: Time stamp addend<br />

This register indicates the 32-bit time value to be added to the Accumulator register to achieve<br />

time synchronization.<br />

Ethernet PTP target time high register (ETH_PTPTTHR)<br />

Address offset: 0x071C<br />

Reset value: 0x0000 0000<br />

This register contains the higher 32 bits of time to be compared with the system time for<br />

interrupt event generation. The Target time high register, along with Target time low register,<br />

is used to schedule an interrupt event (TSARU bit in ETH_PTPTSCR) when the system time<br />

exceeds the value programmed in these registers.<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 />

TTSH<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 TTSH: Target time stamp high<br />

This register stores the time in seconds. When the time stamp value matches or exceeds both<br />

Target time stamp registers, the MAC, if enabled, generates an interrupt.<br />

Doc ID 13902 Rev 9 931/995

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

Saved successfully!

Ooh no, something went wrong!