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 DelayUs for Delay #34

Merged
merged 1 commit into from
Jul 11, 2021
Merged

implement DelayUs for Delay #34

merged 1 commit into from
Jul 11, 2021

Conversation

almindor
Copy link
Collaborator

Implement DelayUs for Delay so it can be used where DelayUs is required.

@Disasm
Copy link
Member

Disasm commented Jul 11, 2021

I'm not sure it's a good idea as the timer precision is quite poor. See also: #23
Adding a separate mcycle-based delay with DelayUs sounds like a better idea

@Disasm
Copy link
Member

Disasm commented Jul 11, 2021

Let's merge it and improve later.

@Disasm Disasm merged commit b142be3 into riscv-rust:master Jul 11, 2021
@almindor almindor mentioned this pull request Jul 12, 2021
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