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

UsbBus::poll disables all interrupts #27

Open
dimpolo opened this issue Mar 16, 2022 · 0 comments
Open

UsbBus::poll disables all interrupts #27

dimpolo opened this issue Mar 16, 2022 · 0 comments

Comments

@dimpolo
Copy link

dimpolo commented Mar 16, 2022

I didn't see this documented and was quite surprised by this.

Is the reason simply because target::interrupt::Mutex requires a CriticalSection or are there hardware reasons for disableing interrupts?
Could the Mutex be replaced by a RefCell?
Edit: UsbBus: Sync ... so no :(

(My use case is an ADC ISR that must not be disabled)

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