![]() |
flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
|
Giant PTP core state object. More...
#include <ptp_types.h>
Data Fields | |
PtpProfile | profile |
PTP profile. | |
PtpMasterProperties | capabilities |
The capabilities of this device. | |
PtpHWClockState | hwclock |
Hardware clock state. | |
struct { | |
TimestampI offset | |
PPS signal offset. More... | |
uint64_t clockIdentity | |
clockIdentity calculated from MAC address More... | |
} | hwoptions |
Hardware options. | |
PtpBmcaState | bmca |
BMCA state. | |
PtpNetworkState | network |
Network state. | |
struct { | |
bool def | |
default More... | |
bool corr | |
correction fields More... | |
bool timestamps | |
timestamps More... | |
bool info | |
informative messages More... | |
bool locked | |
clock lock state change More... | |
bool bmca | |
BMCA state change. More... | |
} | logging |
Logging. | |
PtpStats | stats |
Statistics. | |
PtpUserEventCallback | userEventCb |
User event callback pointer. | |
struct { | |
TimerHandle_t heartbeat | |
timer for managing SBMC operations More... | |
} | timers |
Management timers. | |
struct { | |
bool enabled | |
Slave module is enabled. More... | |
PtpSlaveMessagingState messaging | |
Messaging state. More... | |
PtpSyncCycleData scd | |
Sync cycle data. More... | |
TimestampI prevSyncMa | |
T1 from the previous cycle. More... | |
uint64_t coarseLimit | |
time error limit above coarse correction is engaged More... | |
uint32_t delReqTickPeriod | |
ticks between Delay_Req transmissions More... | |
uint32_t delReqTmr | |
Timer counting ticks for Delay_Req transmissions. More... | |
PtpSyncCallback syncCb | |
Sync callback invoked in every synchronization cycle. More... | |
} | slave |
struct { | |
bool enabled | |
Master module is enabled. More... | |
PtpP2PSlaveInfo p2pSlave | |
Information on the connected P2P slave (only used in P2P modes) More... | |
uint32_t pdelay_reqSequenceID | |
Sequence number of the last PDelay_Request sent. More... | |
PtpSyncCycleData scd | |
Sync cycle data. More... | |
PtpMasterMessagingState messaging | |
Messaging state. More... | |
uint32_t syncTickPeriod | |
Sync transmission period in ticks. More... | |
uint32_t syncTmr | |
Counter for scheduling Sync transmission. More... | |
uint32_t announceTickPeriod | |
Announce transmission in ticks. More... | |
uint32_t announceTmr | |
Counter to schedule Announce transmission. More... | |
uint32_t pdelayReqTickPeriod | |
PDelayReq transmission period in ticks. More... | |
uint32_t pdelayReqTmr | |
Counter for PDelayReq transmission scheduling. More... | |
} | master |
Giant PTP core state object.
Definition at line 457 of file ptp_types.h.
uint32_t announceTickPeriod |
Announce transmission in ticks.
Definition at line 517 of file ptp_types.h.
uint32_t announceTmr |
Counter to schedule Announce transmission.
Definition at line 518 of file ptp_types.h.
PtpBmcaState bmca |
BMCA state.
Definition at line 468 of file ptp_types.h.
bool bmca |
BMCA state change.
Definition at line 478 of file ptp_types.h.
PtpMasterProperties capabilities |
The capabilities of this device.
Definition at line 459 of file ptp_types.h.
uint64_t clockIdentity |
clockIdentity calculated from MAC address
Definition at line 465 of file ptp_types.h.
uint64_t coarseLimit |
time error limit above coarse correction is engaged
Definition at line 496 of file ptp_types.h.
bool corr |
correction fields
Definition at line 474 of file ptp_types.h.
bool def |
default
Definition at line 473 of file ptp_types.h.
uint32_t delReqTickPeriod |
ticks between Delay_Req transmissions
Definition at line 498 of file ptp_types.h.
uint32_t delReqTmr |
Timer counting ticks for Delay_Req transmissions.
Definition at line 499 of file ptp_types.h.
bool enabled |
TimerHandle_t heartbeat |
timer for managing SBMC operations
Definition at line 485 of file ptp_types.h.
PtpHWClockState hwclock |
Hardware clock state.
Definition at line 461 of file ptp_types.h.
struct { ... } hwoptions |
Hardware options.
bool info |
informative messages
Definition at line 476 of file ptp_types.h.
bool locked |
clock lock state change
Definition at line 477 of file ptp_types.h.
struct { ... } logging |
Logging.
struct { ... } master |
PtpSlaveMessagingState messaging |
Messaging state.
Definition at line 493 of file ptp_types.h.
PtpMasterMessagingState messaging |
Messaging state.
Definition at line 513 of file ptp_types.h.
PtpNetworkState network |
Network state.
Definition at line 469 of file ptp_types.h.
TimestampI offset |
PPS signal offset.
Definition at line 464 of file ptp_types.h.
PtpP2PSlaveInfo p2pSlave |
Information on the connected P2P slave (only used in P2P modes)
Definition at line 509 of file ptp_types.h.
uint32_t pdelay_reqSequenceID |
Sequence number of the last PDelay_Request sent.
Definition at line 510 of file ptp_types.h.
uint32_t pdelayReqTickPeriod |
PDelayReq transmission period in ticks.
Definition at line 519 of file ptp_types.h.
uint32_t pdelayReqTmr |
Counter for PDelayReq transmission scheduling.
Definition at line 520 of file ptp_types.h.
TimestampI prevSyncMa |
T1 from the previous cycle.
Definition at line 495 of file ptp_types.h.
PtpProfile profile |
PTP profile.
Definition at line 458 of file ptp_types.h.
PtpSyncCycleData scd |
Sync cycle data.
Definition at line 494 of file ptp_types.h.
struct { ... } slave |
PtpStats stats |
Statistics.
Definition at line 481 of file ptp_types.h.
PtpSyncCallback syncCb |
Sync callback invoked in every synchronization cycle.
Definition at line 501 of file ptp_types.h.
uint32_t syncTickPeriod |
Sync transmission period in ticks.
Definition at line 515 of file ptp_types.h.
uint32_t syncTmr |
Counter for scheduling Sync transmission.
Definition at line 516 of file ptp_types.h.
struct { ... } timers |
Management timers.
bool timestamps |
timestamps
Definition at line 475 of file ptp_types.h.
PtpUserEventCallback userEventCb |
User event callback pointer.
Definition at line 482 of file ptp_types.h.