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

Clarify usage of #[interrupt] attribute and recommend device crate re… #386

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HosseinAssaran
Copy link

…-export

@HosseinAssaran HosseinAssaran requested a review from a team as a code owner March 11, 2025 13:02
@BartMassey
Copy link
Member

Thanks much for this! The text is a definite improvement. I wonder why the code needed to change?

Any chance you could do a similar PR for https://github.com/rust-embedded/discovery-mb2

@HosseinAssaran
Copy link
Author

It demonstrates how to use interrupts and highlights the need to include use device::interrupt. Additionally, since the emulator in this book is based on the LM3S6965, which does not have a TIM2 peripheral but instead provides TIMER2A and TIMER2B, the code must be adapted accordingly.

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