Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate everything over to separate libraries. | Brian Cully | 2019-08-04 | 1 | -392/+0 |
| | | | | | | | | | | | * `usb-host` is the crate containing the HAL traits. * `bootkbd` is a crate for a bare-bones boot protocol keyboard driver. * `samd21-host` is a crate with an implementation of `usb-host` for a SAMD21 platform, with an example for the trinket-m0 which uses the `bootkbd` driver to print keyboard reports. | ||||
* | Short-circuit out of NAK on interrupt pipes. | Brian Cully | 2019-08-01 | 1 | -6/+5 |
| | | | | | Don't bother retrying. NAK on an interrupt endpoint means there's no data. | ||||
* | Refactor so Endpoint controls pipe characteristics. | Brian Cully | 2019-08-01 | 1 | -49/+134 |
| | | | | | | Endpoints know their own address, number, max packet size, and data toggle states. When a pipe is needed, pass in the endpoint its needed for so that configuration can happen according to that endpoint. | ||||
* | WIP: Holy smokes I read my first keyboard report. | Brian Cully | 2019-07-30 | 1 | -4/+4 |
| | | | | Too bad it's still trfail town after the first, but progress! | ||||
* | Only make three attempts to get the keyboard report. | Brian Cully | 2019-07-30 | 1 | -2/+11 |
| | | | | I'm tired of the spam, and three should be enough. | ||||
* | `control_req` -> `control_transfer`. | Brian Cully | 2019-07-28 | 1 | -6/+10 |
| | | | | | Same as in/out transfer functions now, and matches USB spec terminology. | ||||
* | Add pipe::NO_DATA_STAGE const for convenience. | Brian Cully | 2019-07-28 | 1 | -3/+3 |
| | | | | | For use in `control_req`'s buffer argument if no data stage is required. It was either this or have a separate function. | ||||
* | Remove DataBuf exposure outside of pipe impl. | Brian Cully | 2019-07-28 | 1 | -15/+14 |
| | |||||
* | Rename basic USB protocol types. | Brian Cully | 2019-07-28 | 1 | -18/+18 |
| | |||||
* | Post-SetAddress settle delay is actually 2ms. | Brian Cully | 2019-07-28 | 1 | -1/+1 |
| | |||||
* | WIP: read keyboard report (doesn't work) | Brian Cully | 2019-07-28 | 1 | -3/+64 |
| | |||||
* | Move post-address device config to Device impl. | Brian Cully | 2019-07-27 | 1 | -14/+171 |
| | |||||
* | WIP: we have lights on the keyboard! | Brian Cully | 2019-07-27 | 1 | -0/+78 |