|
41 | 41 | /** \defgroup ClassDriver_CDC_Common Common Definitions
|
42 | 42 | * @{ */
|
43 | 43 |
|
44 |
| -// TODO remove |
45 |
| -/// CDC Pipe ID, used to indicate which pipe the API is addressing to (Notification, Out, In) |
46 |
| -typedef enum |
47 |
| -{ |
48 |
| - CDC_PIPE_NOTIFICATION , ///< Notification pipe |
49 |
| - CDC_PIPE_DATA_IN , ///< Data in pipe |
50 |
| - CDC_PIPE_DATA_OUT , ///< Data out pipe |
51 |
| - CDC_PIPE_ERROR , ///< Invalid Pipe ID |
52 |
| -}cdc_pipeid_t; |
53 |
| - |
54 | 44 | //--------------------------------------------------------------------+
|
55 | 45 | // CDC Communication Interface Class
|
56 | 46 | //--------------------------------------------------------------------+
|
@@ -223,13 +213,13 @@ typedef enum
|
223 | 213 | {
|
224 | 214 | CDC_NOTIF_NETWORK_CONNECTION = 0x00, ///< This notification allows the device to notify the host about network connection status.
|
225 | 215 | CDC_NOTIF_RESPONSE_AVAILABLE = 0x01, ///< This notification allows the device to notify the hostthat a response is available. This response can be retrieved with a subsequent \ref CDC_REQUEST_GET_ENCAPSULATED_RESPONSE request.
|
226 |
| - CDC_NOTIF_AUX_JACK_HOOK_STATE = 0x08,///< CDC_NOTIF_AUX_JACK_HOOK_STATE |
227 |
| - CDC_NOTIF_RING_DETECT = 0x09,///< CDC_NOTIF_RING_DETECT |
228 |
| - CDC_NOTIF_SERIAL_STATE = 0x20,///< CDC_NOTIF_SERIAL_STATE |
229 |
| - CDC_NOTIF_CALL_STATE_CHANGE = 0x28,///< CDC_NOTIF_CALL_STATE_CHANGE |
230 |
| - CDC_NOTIF_LINE_STATE_CHANGE = 0x29,///< CDC_NOTIF_LINE_STATE_CHANGE |
| 216 | + CDC_NOTIF_AUX_JACK_HOOK_STATE = 0x08, |
| 217 | + CDC_NOTIF_RING_DETECT = 0x09, |
| 218 | + CDC_NOTIF_SERIAL_STATE = 0x20, |
| 219 | + CDC_NOTIF_CALL_STATE_CHANGE = 0x28, |
| 220 | + CDC_NOTIF_LINE_STATE_CHANGE = 0x29, |
231 | 221 | CDC_NOTIF_CONNECTION_SPEED_CHANGE = 0x2A, ///< This notification allows the device to inform the host-networking driver that a change in either the upstream or the downstream bit rate of the connection has occurred
|
232 |
| - CDC_NOTIF_MDLM_SEMANTIC_MODEL_NOTIFICATION = 0x40,///< CDC_NOTIF_MDLM_SEMANTIC_MODEL_NOTIFICATION |
| 222 | + CDC_NOTIF_MDLM_SEMANTIC_MODEL_NOTIFICATION = 0x40, |
233 | 223 | }cdc_notification_request_t;
|
234 | 224 |
|
235 | 225 | //--------------------------------------------------------------------+
|
|
0 commit comments