![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 594](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630594.webp)
www.geehy.com Page 593
PTP register address mapping
Used to support the register of precision network clock synchronization which is
in accordance with IEEE 1588 standard.
Table 152 PTP Register Address Mapping
Register name
Description
Offset address
PTP_TSCTRL
Timestamp control register
0x700
PTP_SUBSECI
Subsecond increment register
0x704
PTP_TSH
Timestamp high bit register
0x708
PTP_TSL
Timestamp low bit register
0x70C
PTP_TSHUD
Timestamp high bit update register
0x710
PTP_TSLUD
Timestamp low bit update register
0x714
PTP_TSA
Timestamp addend register
0x718
PTP_TTSH
Target timestamp high bit register
0x71C
PTP_TTSL
Target timestamp low bit register
0x720
PTP_TSSTS
Timestamp state register
0x728
PTP_PPSCTRL
PPS control register
0x72C
PTP register functional description
Timestamp control register (PTP_TSCTRL)
Offset address: 0x700
Reset value: 0x0000 2000
Field
Name
R/W
Description
0
TSEN
R/W
Time Stamp Enable
0: Disable
1: Enable
Since the maintained system time is suspended, after this bit is
set to high level, it will be always necessary to initialize the
timestamp function (system time).
1
TSUDSEL
R/W
Time Stamp Update Mode Select
Select the method of updating the system timestamp
0: Rough update
1: Precision update
2
TSSTINIT
R/W
Time Stamp System Time Initialize
When this bit is set, the system time will be initialized with the
value specified in the timestamp high-bit update register and
timestamp low-bit update register. Before this bit is set, it must
be read as zero. After initialization, this bit will be cleared to
zero.