Skip to content

UsbBus::poll disables all interrupts #27

@dimpolo

Description

@dimpolo

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions