gint/src/usb
Lephe 392d033e4a
usb: improve and expose the sync/async write API
* Properly define the callback time of a write/commit as the time when
  the pipe is available again for further writing.
* Refuse commits when writes are pending; instead, enforce a strict
  order of finishing writes before committing, which makes sense since
  consecutive writes are ordered this way already.
* Properly support callbacks for writes and for commits.
* Define the synchronous APIs in terms of waiting until the callbacks
  for equivalent asynchronous functions are invoked (plus initial
  waiting for pipes to be ready).
2021-05-12 09:17:24 +02:00
..
classes usb: USB 2.0 function driver (WIP) 2021-04-11 19:04:54 +02:00
configure.c usb: USB 2.0 function driver (WIP) 2021-04-11 19:04:54 +02:00
pipes.c usb: improve and expose the sync/async write API 2021-05-12 09:17:24 +02:00
setup.c usb: USB 2.0 function driver (WIP) 2021-04-11 19:04:54 +02:00
string.c usb: USB 2.0 function driver (WIP) 2021-04-11 19:04:54 +02:00
usb.c intc: allow any call in intc_handler_function() 2021-05-12 09:17:24 +02:00
usb_private.h usb: improve and expose the sync/async write API 2021-05-12 09:17:24 +02:00