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

Substitute DELAY_US macros used to implement delay #12

Open
gabrielbrunheira opened this issue Jun 29, 2022 · 1 comment
Open

Substitute DELAY_US macros used to implement delay #12

gabrielbrunheira opened this issue Jun 29, 2022 · 1 comment
Labels

Comments

@gabrielbrunheira
Copy link
Contributor

This macro blocks execution of some ISR's when executed inside other ISRs. It should be implemented by timers or other non-blocking strategy.

@gabrielbrunheira
Copy link
Contributor Author

One weaker alternative to timers is to avoid using this macros inside blocking functions (like ISR). Instead, a non-blocking task that uses this macro could be scheduled to perform the required funcionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant