VSF Documented
vsf_usbh_HUB.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_USBH_HUB_H__
19#define __VSF_USBH_HUB_H__
20
21
22/*============================ INCLUDES ======================================*/
24
25#if VSF_USE_USB_HOST == ENABLED && VSF_USBH_USE_HUB == ENABLED
26
27// for hub constants
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*============================ MACROS ========================================*/
35/*============================ MACROFIED FUNCTIONS ===========================*/
36/*============================ TYPES =========================================*/
37/*============================ GLOBAL VARIABLES ==============================*/
38
40
41/*============================ PROTOTYPES ====================================*/
42
43extern bool vk_usbh_hub_is_dev_resetting(struct vk_usbh_dev_t *dev);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif
51#endif
vsf_err_t
Definition __type.h:42
Definition vsf_usbh.h:268
Definition vsf_usbh.h:478
bool vk_usbh_hub_is_dev_resetting(struct vk_usbh_dev_t *dev)
Definition vsf_usbh_HUB.c:506
const vk_usbh_class_drv_t vk_usbh_hub_drv
Definition vsf_usbh_HUB.c:106
vsf_err_t vk_usbh_hub_reset_dev(struct vk_usbh_dev_t *dev)
Definition vsf_usbh_HUB.c:519