VSF Documented
vsf_usb_CDCECM.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_CDCECM_H__
19#define __VSF_USB_CDCECM_H__
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/*============================ INCLUDES ======================================*/
26/*============================ MACROS ========================================*/
27
28#define USB_CDCECM_NOTIFICATION_NETWORK_CONNECTION 0x00
29#define USB_CDCECM_NOTIFICATION_RESPONSE_AVAILABLE 0x01
30#define USB_CDCECM_NOTIFICATION_CONNECTION_SPEED_CHANGE 0x2A
31
32/*============================ MACROFIED FUNCTIONS ===========================*/
33/*============================ TYPES =========================================*/
34
41
43
44/*============================ GLOBAL VARIABLES ==============================*/
45/*============================ PROTOTYPES ====================================*/
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif // __VSF_USB_CDCNCM_H__
unsigned int uint32_t
Definition lvgl.h:43
Definition vsf_usb_CDCECM.h:36
uint32_t up
Definition vsf_usb_CDCECM.h:39
uint32_t down
Definition vsf_usb_CDCECM.h:38
usb_ctrlrequest_t
Definition vsf_usb_CDCECM.h:37
Definition usb_common.h:85
struct usb_cdcecm_notification_speed_change_t VSF_CAL_PACKED
usb_ctrlrequest_t usb_cdcecm_notification_network_connection_t
Definition vsf_usb_CDCECM.h:42