Zephyr API Documentation  3.6.99
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
 
}; 
 Seconds encoded on 48 bits.
 
union {
   uint64_t   fract_nsecond
 
}; 
 Fractional nanoseconds on 48 bits.
 
uint16_t unused
 
uint16_t high
 
uint32_t low
 

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::@354

Seconds encoded on 48 bits.

◆ 

union { ... } net_ptp_extended_time::@356

Fractional nanoseconds on 48 bits.

◆ fract_nsecond

uint64_t net_ptp_extended_time::fract_nsecond

◆ high

uint16_t net_ptp_extended_time::high

◆ low

uint32_t net_ptp_extended_time::low

◆ second

uint64_t net_ptp_extended_time::second

◆ unused

uint16_t net_ptp_extended_time::unused

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