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

Implement groundhog::RollingTimer and Default for ZTimer clocks #9

Open
chrysn opened this issue Sep 20, 2022 · 2 comments
Open

Implement groundhog::RollingTimer and Default for ZTimer clocks #9

chrysn opened this issue Sep 20, 2022 · 2 comments

Comments

@chrysn
Copy link
Member

chrysn commented Sep 20, 2022

This would make the timer the trivial choice for running being used with choreographer -- nice blinky LEDs!

To make ZTimer clocks default-able, they'll need to take a clock into the type. That'd be a good idea anyway.

@chrysn
Copy link
Member Author

chrysn commented Sep 21, 2022

This depends on RIOT-OS/RIOT#17607 or at least some ztimer_acquire to be available in RIOT.

@chrysn
Copy link
Member Author

chrysn commented Oct 3, 2022

It also depends on some resolution of jamesmunns/groundhog#1 -- it'd be easiest if its resolution were "yes we'll just lug around the timers"; with the other resolution, creation of the type itself would somehow need to be gated by a once performed acquisition (and I'm not sure yet how that'd work out).

SimonIT pushed a commit to ATACAMA-Project/rust-riot-wrappers that referenced this issue Oct 9, 2023
Add Quadrature Decoder Wrapper

Closes RIOT-OS#9

See merge request atacama/rust-riot-wrappers!6
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

No branches or pull requests

1 participant