Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of stuff I can't test yet. | Brian Cully | 2019-07-28 | 1 | -21/+0 |
| | |||||
* | Rename RequestType subfields. | Brian Cully | 2019-07-28 | 1 | -75/+74 |
| | | | | | | | 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 Cully | 2019-07-28 | 1 | -59/+52 |
| | |||||
* | Rename basic USB protocol types. | Brian Cully | 2019-07-28 | 1 | -40/+40 |
| | |||||
* | Remove duplicate test code. | Brian Cully | 2019-07-25 | 1 | -57/+28 |
| | |||||
* | Add deserialize tests for usbproto as well. | Brian Cully | 2019-07-25 | 1 | -0/+40 |
| | |||||
* | Make DataBuf hold a mut pointer. | Brian Cully | 2019-07-25 | 1 | -10/+10 |
| | | | | | Since this is being used by hardware DMA, and the hardware treats it as mutable, lets mark it as such. | ||||
* | Put packet repr back. Add tests. | Brian Cully | 2019-07-25 | 1 | -14/+130 |
| | | | | | Packed was causing problems for logging, so use derived Debug impl instead. Add tests to make sure serialization works as expected. | ||||
* | Move USB host stuff to separate crate. | Brian Cully | 2019-07-25 | 1 | -0/+331 |