embassy/examples/nrf
Dario Nieuwenhuis c0de54a341 usb-hid: Simplify API.
- Renamed structs to HidReaderWriter, HidReader, HidWriter.
- Removed unused const generics on `State`.
- Simplified generics on `HidReaderWriter`.
  The class type previously was `HidClass<D, Driver<'d, USBD>, ReportReader<'d, Driver<'d, USBD>, OUT_N>, IN_N>`
  It's now `HidClass<D, Driver<'d, USBD>, IN_N, OUT_N>`. Note that the driver type `Driver<'d, USBD>` is no longer repeated.
- Constructors are now: `HidWriter::new()` for IN-only, `HidReaderWriter::new()` for IN+OUT. No complicated bounds.
- HidReaderWriter has all the methods from HidReader, HidWriter.
2022-04-16 01:59:40 +02:00
..
.cargo Replace rustflags with build.rs extra-link-args. 2021-11-07 23:52:11 +01:00
src/bin usb-hid: Simplify API. 2022-04-16 01:59:40 +02:00
build.rs Replace rustflags with build.rs extra-link-args. 2021-11-07 23:52:11 +01:00
Cargo.toml Async USB HID class 2022-04-06 05:38:11 +02:00
memory.x Move examples to a subdirectory 2021-06-02 01:32:19 +02:00