Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_ptp_extended_time Struct Reference

Precision Time Protocol Extended Timestamp format. More...

#include <ptp_time.h>

Data Fields

union {
   uint64_t   second
 
}; 
 
union {
   uint64_t   fract_nsecond
 
}; 
 
uint32_t low
 
uint16_t high
 
uint16_t unused
 

Detailed Description

Precision Time Protocol Extended Timestamp format.

This structure represents an extended timestamp according to the Precision Time Protocol standard.

Seconds are encoded as 48 bits unsigned integer. Fractional nanoseconds are encoded as 48 bits, their unit is 2*(-16) ns.

Field Documentation

◆ 

union { ... } net_ptp_extended_time::@183

Seconds encoded on 48 bits.

◆ 

union { ... } net_ptp_extended_time::@185

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: