Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rj/timestamp tweaks #255

Merged
merged 8 commits into from
Feb 2, 2021
Merged

Rj/timestamp tweaks #255

merged 8 commits into from
Feb 2, 2021

Conversation

jordens
Copy link
Member

@jordens jordens commented Feb 2, 2021

No description provided.

The sampling timer and the timestamping timer have the same period.
The sampling interval and the batch size are powers of two.
If the timestamping timer wraps at a power of two larger than the
batch period, it will wrap in sync with the batch period.

Even if it didn't the RPLL would handle that. But it requires that the
timer wraps at the u32/i32 boundary (or be shifted left to wrap there).
src/hardware/configuration.rs Show resolved Hide resolved
src/hardware/configuration.rs Outdated Show resolved Hide resolved
src/bin/lockin-external.rs Show resolved Hide resolved
src/bin/lockin-external.rs Outdated Show resolved Hide resolved
@jordens jordens merged commit 14abaad into master Feb 2, 2021
@bors bors bot deleted the rj/timestamp-tweaks branch February 2, 2021 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants