aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/driver.rs
Commit message (Collapse)AuthorAgeFilesLines
* usb: split driver trait to separate crate.Dario Nieuwenhuis2022-09-261-232/+0
|
* nRF documentation warning fixesUlf Lilleengen2022-08-221-3/+3
|
* Puts in the machinery to handle power detected/removedhuntc2022-07-071-0/+6
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-8/+2
|
* usb: make ControlPipe accept, reject async.Dario Nieuwenhuis2022-05-301-2/+8
|
* usb: add first, last params to ControlPipe data_in, data_out.Dario Nieuwenhuis2022-05-301-2/+8
|
* usb: remove is_stalled, set_stalled from Endpoint.Dario Nieuwenhuis2022-05-301-9/+0
| | | | | They're unused, and I believe it's not allowed for classes to stall EPs on their own?
* usb: parse request in embassy-usb instead of the driver.Dario Nieuwenhuis2022-05-121-3/+1
|
* usb: merge `alloc_control_pipe` and `into_bus` into `start`.Dario Nieuwenhuis2022-05-101-9/+10
| | | | | This prevents calling `alloc_control_pipe` twice at compile time, which was always an error.
* usb: remove address arg from endpoint allocation.Dario Nieuwenhuis2022-05-091-2/+0
|
* usb: builtin handling of interface alternate settingsDario Nieuwenhuis2022-04-231-5/+5
| | | | | | | | 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).
* Make Driver::disable async and fix commentalexmoon2022-04-131-3/+4
|
* Add DeviceStateHandler, DeviceCommand channel, and remote wakeup supportalexmoon2022-04-131-20/+24
|
* Unify ReadError and WriteError into EndpointErroralexmoon2022-04-091-21/+9
|
* Async-ify Driver::enable and UsbDeviceBuilder::buildalexmoon2022-04-071-1/+2
|
* usb: abort control data in/out on reset or when receiving another SETUP.Dario Nieuwenhuis2022-04-061-1/+1
| | | | This removes the horrible timeout hack.
* Add basic device state handling for endpoints.alexmoon2022-04-061-0/+12
|
* Simplify hid output report handlingalexmoon2022-04-061-8/+0
|
* Reduce memory overhead and simplify logic for merging endpoint and control ↵alexmoon2022-04-061-0/+8
| | | | request output reports.
* Move data chunking from the driver to the libalexmoon2022-04-061-9/+14
|
* Add support for USB classes handling control requests.alexmoon2022-04-061-0/+42
|
* Working CDC-ACM host->deviceDario Nieuwenhuis2022-04-061-34/+53
|
* wip: experimental async usb stackDario Nieuwenhuis2022-04-061-0/+160