 |
AM263Px MCU+ SDK
11.00.00
|
|
Go to the documentation of this file.
47 #ifndef ENET_MOD_TIMESYNC_H_
48 #define ENET_MOD_TIMESYNC_H_
67 #define ENET_TIMESYNC_PUBLIC_IOCTL(x) (ENET_IOCTL_TYPE_PUBLIC | \
68 ENET_IOCTL_TIMESYNC_BASE | \
78 typedef enum EnetTimeSync_Ioctl_e
178 typedef enum EnetTimeSync_MsgType_e
217 typedef enum EnetTimeSync_AdjMode_e
232 typedef enum EnetTimeSync_AdjDir_e
244 typedef struct EnetTimeSync_setTimestamp_s
261 typedef struct EnetTimeSync_TimestampAdj_s
274 typedef struct EnetTimeSync_GetEthTimestampInArgs_s
@ ENET_TIMESYNC_ADJMODE_PPH
Definition: enet_mod_timesync.h:226
@ ENET_TIMESYNC_MESSAGE_ANNOUNCE
Definition: enet_mod_timesync.h:202
@ ENET_TIMESYNC_ADJDIR_DECREASE
Definition: enet_mod_timesync.h:238
@ ENET_TIMESYNC_MESSAGE_MANAGEMENT
Definition: enet_mod_timesync.h:208
@ ENET_TIMESYNC_IOCTL_ADJUST_TIMESTAMP
Adjust the timestamp value.
Definition: enet_mod_timesync.h:133
@ ENET_TIMESYNC_IOCTL_GET_ETH_TX_TIMESTAMP
Get Ethernet TX timestamp. For CPSW the driver maintains a pool of the timestamps that are captured b...
Definition: enet_mod_timesync.h:154
EnetTimeSync_MsgType msgType
Definition: enet_mod_timesync.h:277
@ ENET_TIMESYNC_IOCTL_PRINT_STATS
Print TimeSync event statistics. They could be either hardware or software based statistics.
Definition: enet_mod_timesync.h:106
#define ENET_TIMESYNC_PUBLIC_IOCTL(x)
Helper macro to create IOCTL commands for TIMESYNC module.
Definition: enet_mod_timesync.h:67
This file contains the basic types using across the Enet driver.
@ ENET_TIMESYNC_IOCTL_PRINT_REGS
Print TimeSync registers.
Definition: enet_mod_timesync.h:96
@ ENET_TIMESYNC_IOCTL_SET_TIMESTAMP
Set timestamp value.
Definition: enet_mod_timesync.h:124
@ ENET_TIMESYNC_IOCTL_GET_ETH_RX_TIMESTAMP
Get Ethernet RX timestamp.
Definition: enet_mod_timesync.h:142
uint8_t clkMode
Definition: enet_mod_timesync.h:252
@ ENET_TIMESYNC_MESSAGE_FOLLOW_UP
Definition: enet_mod_timesync.h:193
This file contains the type definitions and helper macros for the Enet IOCTL interface.
@ ENET_TIMESYNC_IOCTL_RESET
Reset TimeSync module.
Definition: enet_mod_timesync.h:163
@ ENET_TIMESYNC_IOCTL_GET_CURRENT_TIMESTAMP
Get current timestamp.
Definition: enet_mod_timesync.h:115
@ ENET_TIMESYNC_IOCTL_SET_TIMESTAMP_COMPLETE
ICSSG Set timestamp operation completed.
Definition: enet_mod_timesync.h:172
@ ENET_TIMESYNC_MESSAGE_INVALID
Definition: enet_mod_timesync.h:211
uint64_t tsLoadVal
Definition: enet_mod_timesync.h:247
uint32_t seqId
Definition: enet_mod_timesync.h:280
uint32_t intervalInNsecs
Definition: enet_mod_timesync.h:267
EnetTimeSync_Ioctl
TimeSync module IOCTL commands.
Definition: enet_mod_timesync.h:79
uint8_t clkSign
Definition: enet_mod_timesync.h:255
Timestamp adjustment.
Definition: enet_mod_timesync.h:262
@ ENET_TIMESYNC_MESSAGE_DELAY_REQ
Definition: enet_mod_timesync.h:184
int32_t adjValInNsecs
Definition: enet_mod_timesync.h:264
EnetTimeSync_AdjMode
TimeSync adjustment mode.
Definition: enet_mod_timesync.h:218
@ ENET_TIMESYNC_MESSAGE_PDELAY_RESP_FOLLOW_UP
Definition: enet_mod_timesync.h:199
@ ENET_TIMESYNC_MESSAGE_SIGNALING
Definition: enet_mod_timesync.h:205
@ ENET_TIMESYNC_MESSAGE_PDELAY_RESP
Definition: enet_mod_timesync.h:190
@ ENET_TIMESYNC_ADJDIR_INCREASE
Definition: enet_mod_timesync.h:235
@ ENET_TIMESYNC_IOCTL_GET_VERSION
Get the hardware version of the TimeSync module.
Definition: enet_mod_timesync.h:87
Input args for ENET_TIMESYNC_IOCTL_GET_ETH_RX_TIMESTAMP and ENET_TIMESYNC_IOCTL_GET_ETH_TX_TIMESTAMP ...
Definition: enet_mod_timesync.h:275
Timestamp set.
Definition: enet_mod_timesync.h:245
EnetTimeSync_AdjDir
TimeSync adjustment direction.
Definition: enet_mod_timesync.h:233
uint32_t portNum
Definition: enet_mod_timesync.h:283
EnetTimeSync_MsgType
TimeSync Ethernet message type.
Definition: enet_mod_timesync.h:179
@ ENET_TIMESYNC_MESSAGE_SYNC
Definition: enet_mod_timesync.h:181
uint32_t domain
Definition: enet_mod_timesync.h:286
@ ENET_TIMESYNC_ADJMODE_PPM
Definition: enet_mod_timesync.h:223
@ ENET_TIMESYNC_ADJMODE_DISABLE
Definition: enet_mod_timesync.h:220
@ ENET_TIMESYNC_MESSAGE_PDELAY_REQ
Definition: enet_mod_timesync.h:187
@ ENET_TIMESYNC_MESSAGE_DELAY_RESP
Definition: enet_mod_timesync.h:196