flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
ptp_servo_types.h
Go to the documentation of this file.
1
9#ifndef FLEXPTP_SIM_PTP_SERVO_TYPES_H_
10#define FLEXPTP_SIM_PTP_SERVO_TYPES_H_
11
12#include "ptp_sync_cycle_data.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
21typedef struct {
23
24 // information about sync interval
25 int8_t logMsgPeriod;
26 double msgPeriodMs;
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif /* FLEXPTP_SIM_PTP_SERVO_TYPES_H_ */
This module defines the context object of a full synchronization cycle. In SLAVE mode four timestamps...
Data to perform a full synchronization.
PtpSyncCycleData scd
Sync cycle data.
double msgPeriodMs
Message period in ms.
int64_t measSyncPeriodNs
Measured synchronization period (t1->t1)
int8_t logMsgPeriod
Logarithmic message period.
PTP synchronization cycle data.