aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/descriptor.rs
Commit message (Collapse)AuthorAgeFilesLines
* Apply Pedantic Clippy LintsRafael Bachmann2023-10-151-17/+15
|
* Fix clippyRafael Bachmann2023-10-151-1/+1
|
* usb: docsDario Nieuwenhuis2023-01-311-1/+3
|
* usb: split driver trait to separate crate.Dario Nieuwenhuis2022-09-261-3/+4
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-6/+3
|
* usb: simplify control in/out handlng, calling response from a single place.Dario Nieuwenhuis2022-05-091-0/+1
|
* usb: builtin handling of interface alternate settingsDario Nieuwenhuis2022-04-231-2/+2
| | | | | | | | 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).
* usb: improved descriptor building APIDario Nieuwenhuis2022-04-161-37/+2
| | | | | | | The same API call allocates interfaces/endpoints/etc and writes their descriptors. This means less API calls, and less possibility to screw things up. DescriptorWriter is now private.
* usb: cleanup and simplify error handling.Dario Nieuwenhuis2022-04-061-44/+25
|
* usb: add -usb-serial crate, fix warnings and stable build.Dario Nieuwenhuis2022-04-061-0/+1
|
* wip: experimental async usb stackDario Nieuwenhuis2022-04-061-0/+387