Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 1 | ================= |
| 2 | USB Protocol Core |
| 3 | ================= |
| 4 | |
| 5 | USB Protocol Core is a part of the USB Device Stack library. It provides basic |
| 6 | macro definitions, data structures and API functions which are compliant with |
| 7 | USB specification version 2.0.0/2.0.1 for user. |
| 8 | |
| 9 | In addition, it provides interfaces of USB descriptor searching for the upper |
| 10 | layer to use, which is especially helpful in the USB enumeration process. |
| 11 | |
| 12 | Features |
| 13 | -------- |
| 14 | * Packaging USB device, configuration, interface, endpoint descriptors. |
| 15 | * Getting the descriptor length or type from an assigned USB descriptor. |
| 16 | * Getting VID, PID value from an assigned USB descriptor. |
| 17 | * Getting the total length of an USB configuration descriptor. |
| 18 | * Finding the next valid descriptor in a given USB descriptor. |
| 19 | * Finding an endpoint descriptor in a given USB descriptor. |
| 20 | * Finding a specific descriptor by an assigned descriptor type. |
| 21 | * Finding a configure descriptor by an assigned configure value. |
| 22 | * Finding a string descriptor by an assigned string index. |
| 23 | |
| 24 | |
| 25 | Applications |
| 26 | ------------ |
| 27 | |
| 28 | N/A |
| 29 | |
| 30 | Dependencies |
| 31 | ------------ |
| 32 | |
| 33 | N/A |
| 34 | |
| 35 | |
| 36 | Limitations |
| 37 | ----------- |
| 38 | |
| 39 | N/A |
| 40 | |