IEEE1588 improvements for PTP#64
Open
HedgeHawk wants to merge 24 commits intossilverman:ieee1588-2from
Open
Conversation
The function now takes a const and the pulse width is now checked.
Also updated the docs for that and enet_ieee1588_set_channel_output_pulse_width().
It now returns the result from enet_ieee1588_adjust_timer().
New object, in the Arduino style: EthernetIEEE1588.
EthernetIEEE1588.timestampNextFrame().
The seconds are captured at the same time as the nanoseconds. This removes the need to adjust the seconds in calling code.
…g registers. Add PPSOut example
Owner
|
Thanks for this. I have a local copy that I try to keep up-to-date with |
This reverts commit 9b37509.
7290671 to
25a1b86
Compare
25a1b86 to
1bc4b2a
Compare
1bc4b2a to
22e2ed8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey, thank you for this awesome library!
I just saw PR #57 and read that there is some ongoing work on a new branch for IEEE1588. Last year, I implemented some new functionality that we needed for our PTP library and fixed some bugs in the timer code during verification. We also built some examples along the way for Pulse Per Second (PPS) in and out and timer adjustments that may come in handy. I currently don't have the time to rebase this on the master branch, but I hope some snippets of the code help to improve the ongoing work.