2019-02-01 23:11:18 +08:00
|
|
|
.. _ptp_time_interface:
|
|
|
|
|
|
|
|
|
2019-02-20 22:49:43 +08:00
|
|
|
Precision Time Protocol (PTP) time format
|
|
|
|
#########################################
|
2019-02-01 23:11:18 +08:00
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
2019-02-20 22:49:43 +08:00
|
|
|
The PTP time struct can store time information in high precision
|
|
|
|
format (nanoseconds). The extended timestamp format can store the
|
|
|
|
time in fractional nanoseconds accuracy. The PTP time format is used
|
|
|
|
in :ref:`gptp_interface` implementation.
|
2019-02-01 23:11:18 +08:00
|
|
|
|
|
|
|
API Reference
|
|
|
|
*************
|
|
|
|
|
|
|
|
.. doxygengroup:: ptp_time
|
|
|
|
:project: Zephyr
|