Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 1 | ============== |
| 2 | USB Device CDC |
| 3 | ============== |
| 4 | |
| 5 | USB Device CDC (Communication Device Class)is a part of the USB Device Stack library. |
| 6 | It provides support for Abstract Control Model, which is one of the USB PSTN Device |
| 7 | Models. The device uses both a Data Class interface and a Communication Class interface |
| 8 | for it. For more detailed definition and description about this model, user can refer to |
| 9 | the related chapter in <Universal Serial Bus Communications Class Subclass Specification |
| 10 | for PSTN Devices, Revision 1.2> |
| 11 | |
| 12 | Features |
| 13 | -------- |
| 14 | |
| 15 | * Initialization/de-initialization. |
| 16 | * Data transfer. |
| 17 | * Callbacks management on: |
| 18 | |
| 19 | * Transmission done |
| 20 | * Reception done |
| 21 | * Setting a new Line coding |
| 22 | * Line state changing |
| 23 | |
| 24 | Applications |
| 25 | ------------ |
| 26 | |
| 27 | * Used as a vritual serial. |
| 28 | |
| 29 | |
| 30 | Dependencies |
| 31 | ------------ |
| 32 | |
| 33 | * USB Device Driver |
| 34 | * USB Device Stack Core |
| 35 | * USB Protocol CDC |
| 36 | |
| 37 | |
| 38 | Limitations |
| 39 | ----------- |
| 40 | |
| 41 | * Only single instance can be supported, not applied for multiple case. |
| 42 | * The INF and CAT file would be packed in atzip file. User can extract |
| 43 | them from "./usb/class/cdc/device". |
| 44 | * If user wants to combine CDC with other classes into one device, USB |
| 45 | Device Stack Composite component should be added from the web page |
| 46 | rather than USB Device Stack CDC ACM. |