Dario Nieuwenhuis
|
94090e068e
|
usb: fix wrong logging of CONTROL OUT data.
|
2022-04-15 18:45:52 +02:00 |
|
alexmoon
|
e867364d42
|
Unify ReadError and WriteError into EndpointError
|
2022-04-09 01:48:17 +02:00 |
|
Dario Nieuwenhuis
|
22a47aeeb2
|
usb: abort control data in/out on reset or when receiving another SETUP.
This removes the horrible timeout hack.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
f6d11dfba5
|
usb: fix slow enumeration with EP0 max_packet_size of 8 or 16.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
522a87ae42
|
usb: centralize all control logging in control.rs
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
f5ba022257
|
Refactor ControlPipe to use the typestate pattern for safety
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
d40ebcccf6
|
Add handlers for standard reqs to ControlHandler
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
13370c28db
|
Add a control_buf to UsbDevice
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
c53bb7394a
|
Switch to ControlHandler owned bufs for control_in()
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
d7b1f8ca57
|
usb: update docs on ControlHandler.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
e99a3a1da4
|
usb: simplify buffer handling for Control IN transfers.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
bfce731982
|
usb: nicer names for control structs.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
2b547f311e
|
usb: move all control-related stuff to mod control .
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
bdc6e0481c
|
Add support for USB classes handling control requests.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
37598a5b37
|
wip: experimental async usb stack
|
2022-04-06 05:38:11 +02:00 |
|