aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/descriptor_reader.rs
Commit message (Collapse)AuthorAgeFilesLines
* Apply Pedantic Clippy LintsRafael Bachmann2023-10-151-3/+3
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-081-3/+4
| | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available).
* usb: split driver trait to separate crate.Dario Nieuwenhuis2022-09-261-1/+1
|
* usb: builtin handling of interface alternate settingsDario Nieuwenhuis2022-04-231-0/+110
The stack reads its own descriptors to figure out which endpoints are used in which alt settings, and enables/disables them as needed. The ControlHandler has a callback so it can get notified of alternate setting changes, which is purely informative (it doesn't have to do anything).