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

Allow timer frequencies below 1 Hz #225

Open
TheZoq2 opened this issue Jun 4, 2020 · 1 comment
Open

Allow timer frequencies below 1 Hz #225

TheZoq2 opened this issue Jun 4, 2020 · 1 comment

Comments

@TheZoq2
Copy link
Member

TheZoq2 commented Jun 4, 2020

A common complaint I hear about the crate, and have myself, is that timers which run for longer than 1 second.

One issue is that it's kind of hard to (without panics) check if a timer value is feasible. One possibilty might be to allow lower level access to the timer registers to set your own pre-scalers etc. if the variants provided by the HAL aren't satisfactory.

Similar to #126 I suppose

@David-OConnor
Copy link

David-OConnor commented Jan 5, 2021

See this issue on F3. The set_period() function I posted there handles this. It should work similarly on f1.

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

2 participants