Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
d62f6af7
Commit
d62f6af7
authored
Jan 27, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(non technical change) fix year of 1588 standard
Signed-off-by:
Adam Wujek
<
adam.wujek@creotech.pl
>
parent
e8b4db2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ieee1588_types.h
include/ppsi/ieee1588_types.h
+4
-4
l1e-api.h
proto-ext-l1sync/l1e-api.h
+1
-1
No files found.
include/ppsi/ieee1588_types.h
View file @
d62f6af7
...
...
@@ -72,7 +72,7 @@ typedef struct Timestamp { /* page 13 (33) -- no typedef expected */
UInteger32
nanosecondsField
;
}
Timestamp
;
/** ******************* IEEE1588-201
8
**************************************/
/** ******************* IEEE1588-201
9
**************************************/
#define REL_DIFF_FRACBITS 62
#define REL_DIFF_FRACBITS_AS_FLOAT 62.0
#define REL_DIFF_TWO_POW_FRACBITS ((double)4.611686018427388E18)
/* double value returned by pow(2.0,62.0) */
...
...
@@ -229,7 +229,7 @@ typedef struct { /* page 65 */
UInteger8
priority2
;
UInteger8
domainNumber
;
Boolean
slaveOnly
;
/** Optional (IEEE1588-201
8
) */
/** Optional (IEEE1588-201
9
) */
Timestamp
currentTime
;
/*draft P1588_v_29: page 85*/
Boolean
instanceEnable
;
/*draft P1588_v_29: page 86*/
Boolean
externalPortConfigurationEnabled
;
/*draft P1588_v_29: page 86*/
...
...
@@ -280,7 +280,7 @@ typedef struct { /* page 72 */
UInteger4
versionNumber
;
void
*
ext_dsport
;
/** (IEEE1588-201
8
) */
/** (IEEE1588-201
9
) */
Integer8
logMinPdelayReqInterval
;
/*draft P1588_v_29: page 124 */
UInteger4
minorVersionNumber
;
/*draft P1588_v_29: page 124 */
TimeInterval
delayAsymmetry
;
/*draft P1588_v_29: page 124 */
...
...
@@ -305,7 +305,7 @@ typedef struct { /* page 70 */
Enumeration8
timeSource
;
}
timePropertiesDS_t
;
/** ******************* IEEE1588-201
8
**************************************
/** ******************* IEEE1588-201
9
**************************************
* Adding new optional data sets (DS) defined in clause, only these relevant
* for HA
*/
...
...
proto-ext-l1sync/l1e-api.h
View file @
d62f6af7
...
...
@@ -79,7 +79,7 @@ typedef struct { /*draft P1588_v_29: page 100 and 333-335 */
Boolean
peerIsTxCoherent
;
Boolean
peerIsRxCoherent
;
Boolean
peerIsCongruent
;
/* None compliant members with IEEE1558-201
8
*/
/* None compliant members with IEEE1558-201
9
*/
Enumeration8
next_state
;
}
L1SyncBasicPortDS_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment