Debian Codegraph @

ports/stm32/usbhost/Core/Inc/usbh_pipes.h

raw
1 /**
2 ******************************************************************************
3 * @file usbh_PIPES.h
4 * @author MCD Application Team
5 * @version V3.0.0
6 * @date 18-February-2014
7 * @brief Header file for usbh_pipes.c
8 ******************************************************************************
9 * @attention
10 *
11 * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
12 *
13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
14 * You may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at:
16 *
17 * http://www.st.com/software_license_agreement_liberty_v2
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 ******************************************************************************
26 */
27
28 /* Define to prevent recursive ----------------------------------------------*/
29 #ifndef __USBH_PIPES_H
30 #define __USBH_PIPES_H
31
32 /* Includes ------------------------------------------------------------------*/
33 #include "usbh_core.h"
34
35 /** @addtogroup USBH_LIB
36 * @{
37 */
38
39 /** @addtogroup USBH_LIB_CORE
40 * @{
41 */
42
43 /** @defgroup USBH_PIPES
44 * @brief This file is the header file for usbh_PIPES.c
45 * @{
46 */
47
48 /** @defgroup USBH_PIPES_Exported_Defines
49 * @{
50 */
51 /**
52 * @}
53 */
54
55 /** @defgroup USBH_PIPES_Exported_Types
56 * @{
57 */
58 /**
59 * @}
60 */
61
62
63 /** @defgroup USBH_PIPES_Exported_Macros
64 * @{
65 */
66 /**
67 * @}
68 */
69
70 /** @defgroup USBH_PIPES_Exported_Variables
71 * @{
72 */
73 /**
74 * @}
75 */
76
77 /** @defgroup USBH_PIPES_Exported_FunctionsPrototype
78 * @{
79 */
80
81 USBH_StatusTypeDef USBH_OpenPipe (USBH_HandleTypeDef *phost,
82 uint8_t ch_num,
83 uint8_t epnum,
84 uint8_t dev_address,
85 uint8_t speed,
86 uint8_t ep_type,
87 uint16_t mps);
88
89 USBH_StatusTypeDef USBH_ClosePipe (USBH_HandleTypeDef *phost,
90 uint8_t pipe_num);
91
92 uint8_t USBH_AllocPipe (USBH_HandleTypeDef *phost,
93 uint8_t ep_addr);
94
95 USBH_StatusTypeDef USBH_FreePipe (USBH_HandleTypeDef *phost,
96 uint8_t idx);
97
98
99
100
101 /**
102 * @}
103 */
104
105
106
107 #endif /* __USBH_PIPES_H */
108
109
110 /**
111 * @}
112 */
113
114 /**
115 * @}
116 */
117
118 /**
119 * @}
120 */
121
122 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
123
124