aboutsummaryrefslogtreecommitdiffstats
path: root/usbh/src/pipe.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update notes on short packets.Brian Cully2019-07-281-6/+5
|
* Add pipe::NO_DATA_STAGE const for convenience.Brian Cully2019-07-281-1/+6
| | | | | For use in `control_req`'s buffer argument if no data stage is required. It was either this or have a separate function.
* Remove un-needed asserts.Brian Cully2019-07-281-5/+0
|
* Make `dispatch_retries` private.Brian Cully2019-07-281-3/+1
|
* Remove DataBuf exposure outside of pipe impl.Brian Cully2019-07-281-24/+21
|
* Rename RequestType subfields.Brian Cully2019-07-281-4/+4
| | | | | | | Mostly obvious stuff, but change `USBSetupType` to `RequestKind`, so it doesn't conflict with the `RequestType` in which it lives. This also solves the problem with `typ` and `set_typ` methods (now `kind` and `set_kind`).
* Use TryFrom where possible, instead of panicking.Brian Cully2019-07-281-3/+9
|
* Rename basic USB protocol types.Brian Cully2019-07-281-3/+7
|
* WIP: read keyboard report (doesn't work)Brian Cully2019-07-281-0/+4
|
* Minor cleanup.Brian Cully2019-07-271-9/+0
|
* Reduce millis function pointer call to one location.Brian Cully2019-07-271-63/+59
| | | | | Trying to remove this function entirely from pipe/device in order to make it non-blocking. Right now it's only used for dispatch_retries.
* Move log_regs.Brian Cully2019-07-271-34/+37
|
* Make dtgl_set/clear private again.Brian Cully2019-07-271-11/+5
|
* Move post-address device config to Device impl.Brian Cully2019-07-271-3/+87
|
* WIP: we have lights on the keyboard!Brian Cully2019-07-271-24/+67
|
* Update log levels.Brian Cully2019-07-251-19/+27
|
* Read entire buffers during IN transfers.Brian Cully2019-07-251-27/+32
|
* Make DataBuf hold a mut pointer.Brian Cully2019-07-251-4/+4
| | | | | Since this is being used by hardware DMA, and the hardware treats it as mutable, lets mark it as such.
* Move USB host stuff to separate crate.Brian Cully2019-07-251-0/+500