VSF Documented
vsf_usb_CDC.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __VSF_USB_CDC_H__
19#define __VSF_USB_CDC_H__
20
21/*============================ INCLUDES ======================================*/
22
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/*============================ MACROS ========================================*/
30/*============================ MACROFIED FUNCTIONS ===========================*/
31/*============================ TYPES =========================================*/
32
33typedef enum usb_cdc_req_t {
40
46
50
56
63
64/*============================ GLOBAL VARIABLES ==============================*/
65/*============================ PROTOTYPES ====================================*/
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif // __VSF_USB_CDC_H__
unsigned short uint16_t
Definition stdint.h:7
unsigned char uint8_t
Definition stdint.h:5
Definition vsf_usb_CDC.h:52
uint16_t wMaxSegmentSize
Definition vsf_usb_CDC.h:59
uint8_t iMACAddress
Definition vsf_usb_CDC.h:57
uint16_t wNumberMCFilters
Definition vsf_usb_CDC.h:60
uint8_t bDescriptorType
Definition vsf_usb_CDC.h:54
uint8_t bLength
Definition vsf_usb_CDC.h:53
uint8_t bmEthernetStatistics[4]
Definition vsf_usb_CDC.h:58
uint8_t bDescriptorSubType
Definition vsf_usb_CDC.h:55
uint8_t bNumberPowerFilters
Definition vsf_usb_CDC.h:61
Definition vsf_usb_CDC.h:42
uint8_t bLength
Definition vsf_usb_CDC.h:43
uint8_t bSubordinateInterface[1]
Definition vsf_usb_CDC.h:48
uint8_t bDescriptorType
Definition vsf_usb_CDC.h:44
uint8_t bDescriptorSubType
Definition vsf_usb_CDC.h:45
uint8_t bControlInterface
Definition vsf_usb_CDC.h:47
usb_cdc_req_t
Definition vsf_usb_CDC.h:33
@ USB_CDCREQ_GET_COMM_FEATURE
Definition vsf_usb_CDC.h:37
@ USB_CDCREQ_SET_COMM_FEATURE
Definition vsf_usb_CDC.h:36
@ USB_CDCREQ_CLEAR_COMM_FEATURE
Definition vsf_usb_CDC.h:38
@ USB_CDCREQ_SEND_ENCAPSULATED_COMMAND
Definition vsf_usb_CDC.h:34
@ USB_CDCREQ_GET_ENCAPSULATED_RESPONSE
Definition vsf_usb_CDC.h:35
struct usb_cdc_union_descriptor_t VSF_CAL_PACKED