Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
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 |
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.
union { ... } net_ptp_extended_time::@183 |
Seconds encoded on 48 bits.
union { ... } net_ptp_extended_time::@185 |
Fractional nanoseconds on 48 bits.
uint64_t net_ptp_extended_time::fract_nsecond |
uint16_t net_ptp_extended_time::high |
uint32_t net_ptp_extended_time::low |
uint64_t net_ptp_extended_time::second |
uint16_t net_ptp_extended_time::unused |