Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_ptp_extended_time Struct Reference

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.
 

Detailed Description

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.

Field Documentation

◆ 

union { ... } net_ptp_extended_time::@357

Seconds encoded on 48 bits.

◆ 

union { ... } net_ptp_extended_time::@359

Fractional nanoseconds on 48 bits.

◆ fract_nsecond

uint64_t net_ptp_extended_time::fract_nsecond

Fractional nanoseconds value.

◆ second

uint64_t net_ptp_extended_time::second

Second value.


The documentation for this struct was generated from the following file: