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
15
extern
"C"
{
16
#endif
17
21
typedef
struct
{
22
PtpSyncCycleData
scd
;
23
24
// information about sync interval
25
int8_t
logMsgPeriod
;
26
double
msgPeriodMs
;
27
int64_t
measSyncPeriodNs
;
28
}
PtpServoAuxInput
;
29
30
#ifdef __cplusplus
31
}
32
#endif
33
34
#endif
/* FLEXPTP_SIM_PTP_SERVO_TYPES_H_ */
ptp_sync_cycle_data.h
This module defines the context object of a full synchronization cycle. In SLAVE mode four timestamps...
PtpServoAuxInput
Data to perform a full synchronization.
Definition:
ptp_servo_types.h:21
PtpServoAuxInput::scd
PtpSyncCycleData scd
Sync cycle data.
Definition:
ptp_servo_types.h:22
PtpServoAuxInput::msgPeriodMs
double msgPeriodMs
Message period in ms.
Definition:
ptp_servo_types.h:26
PtpServoAuxInput::measSyncPeriodNs
int64_t measSyncPeriodNs
Measured synchronization period (t1->t1)
Definition:
ptp_servo_types.h:27
PtpServoAuxInput::logMsgPeriod
int8_t logMsgPeriod
Logarithmic message period.
Definition:
ptp_servo_types.h:25
PtpSyncCycleData
PTP synchronization cycle data.
Definition:
ptp_sync_cycle_data.h:44
src
flexptp
ptp_servo_types.h
Generated by
1.9.6