Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Precision Time Protocol Timestamp format. More...
#include <ptp_time.h>
Data Fields | |
union { | |
uint64_t second | |
}; | |
uint32_t | nanosecond |
uint32_t | low |
uint16_t | high |
uint16_t | unused |
Precision Time Protocol Timestamp format.
This structure represents a timestamp according to the Precision Time Protocol standard.
Seconds are encoded as a 48 bits unsigned integer. Nanoseconds are encoded as a 32 bits unsigned integer.
union { ... } net_ptp_time::@180 |
Seconds encoded on 48 bits.
uint16_t net_ptp_time::high |
uint32_t net_ptp_time::low |
uint32_t net_ptp_time::nanosecond |
Nanoseconds.
uint64_t net_ptp_time::second |
uint16_t net_ptp_time::unused |