aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-04-16 01:59:40 +0200
committerDario Nieuwenhuis <[email protected]>2022-04-16 01:59:40 +0200
commitc0de54a341dc40b600574a5009a3d4c54e52d5c8 (patch)
treea26059f90bfd8a2a1d204414415951593c6822a2 /docs
parent94090e068ec8c56e4fd6676330d87305c5dfee3e (diff)
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.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions