Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Generalized Precision Time Protocol Extended Timestamp format. More...
#include <ptp_time.h>
Data Fields | ||
union { | ||
uint64_t second | ||
Second value. More... | ||
}; | ||
Seconds encoded on 48 bits. | ||
union { | ||
uint64_t fract_nsecond | ||
Fractional nanoseconds value. More... | ||
}; | ||
Fractional nanoseconds on 48 bits. | ||
Generalized Precision Time Protocol Extended Timestamp format.
This structure represents an extended timestamp according to the Generalized Precision Time Protocol standard (IEEE 802.1AS), see section 6.4.3.5.
Seconds are encoded as 48 bits unsigned integer. Fractional nanoseconds are encoded as 48 bits, their unit is 2*(-16) ns.
A precise definition of PTP timestamps and their uses in Zephyr is given in the description of net_ptp_time.
union { ... } net_ptp_extended_time |
Seconds encoded on 48 bits.
union { ... } net_ptp_extended_time |
Fractional nanoseconds on 48 bits.
uint64_t net_ptp_extended_time::fract_nsecond |
Fractional nanoseconds value.
uint64_t net_ptp_extended_time::second |
Second value.