Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
PTP support

Precision Time Protocol (PTP) support. More...

Macros

#define PTP_MAJOR_VERSION   2
 Major PTP Version.
 
#define PTP_MINOR_VERSION   1
 Minor PTP Version.
 
#define PTP_VERSION   (PTP_MINOR_VERSION << 4 | PTP_MAJOR_VERSION)
 PTP version IEEE-1588:2019.
 

Detailed Description

Precision Time Protocol (PTP) support.

Macro Definition Documentation

◆ PTP_MAJOR_VERSION

#define PTP_MAJOR_VERSION   2

#include <include/zephyr/net/ptp.h>

Major PTP Version.

◆ PTP_MINOR_VERSION

#define PTP_MINOR_VERSION   1

#include <include/zephyr/net/ptp.h>

Minor PTP Version.

◆ PTP_VERSION

#define PTP_VERSION   (PTP_MINOR_VERSION << 4 | PTP_MAJOR_VERSION)

#include <include/zephyr/net/ptp.h>

PTP version IEEE-1588:2019.