Prusa MINI Firmware overview
usbh_pipes.h
Go to the documentation of this file.
1 /**
2  ******************************************************************************
3  * @file usbh_pipes.h
4  * @author MCD Application Team
5  * @version V3.2.2
6  * @date 07-July-2015
7  * @brief Header file for usbh_pipes.c
8  ******************************************************************************
9  * @attention
10  *
11  * <h2><center>&copy; COPYRIGHT 2015 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 #ifdef __cplusplus
33  extern "C" {
34 #endif
35 
36 /* Includes ------------------------------------------------------------------*/
37 #include "usbh_core.h"
38 
39 /** @addtogroup USBH_LIB
40  * @{
41  */
42 
43 /** @addtogroup USBH_LIB_CORE
44 * @{
45 */
46 
47 /** @defgroup USBH_PIPES
48  * @brief This file is the header file for usbh_pipes.c
49  * @{
50  */
51 
52 /** @defgroup USBH_PIPES_Exported_Defines
53  * @{
54  */
55 /**
56  * @}
57  */
58 
59 /** @defgroup USBH_PIPES_Exported_Types
60  * @{
61  */
62 /**
63  * @}
64  */
65 
66 
67 /** @defgroup USBH_PIPES_Exported_Macros
68  * @{
69  */
70 /**
71  * @}
72  */
73 
74 /** @defgroup USBH_PIPES_Exported_Variables
75  * @{
76  */
77 /**
78  * @}
79  */
80 
81 /** @defgroup USBH_PIPES_Exported_FunctionsPrototype
82  * @{
83  */
84 
86  uint8_t ch_num,
87  uint8_t epnum,
88  uint8_t dev_address,
89  uint8_t speed,
90  uint8_t ep_type,
91  uint16_t mps);
92 
94  uint8_t pipe_num);
95 
97  uint8_t ep_addr);
98 
100  uint8_t idx);
101 
102 
103 
104 
105 /**
106  * @}
107  */
108 
109 
110 #ifdef __cplusplus
111 }
112 #endif
113 
114 #endif /* __USBH_PIPES_H */
115 
116 
117 /**
118  * @}
119  */
120 
121 /**
122  * @}
123  */
124 
125 /**
126 * @}
127 */
128 
129 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
usbh_core.h
Header file for usbh_core.c.
USBH_ClosePipe
USBH_StatusTypeDef USBH_ClosePipe(USBH_HandleTypeDef *phost, uint8_t pipe_num)
USBH_ClosePipe Close a pipe.
Definition: usbh_pipes.c:121
_USBH_HandleTypeDef
Definition: usbh_def.h:450
USBH_FreePipe
USBH_StatusTypeDef USBH_FreePipe(USBH_HandleTypeDef *phost, uint8_t idx)
USBH_Free_Pipe Free the USB Pipe.
Definition: usbh_pipes.c:158
USBH_OpenPipe
USBH_StatusTypeDef USBH_OpenPipe(USBH_HandleTypeDef *phost, uint8_t ch_num, uint8_t epnum, uint8_t dev_address, uint8_t speed, uint8_t ep_type, uint16_t mps)
USBH_Open_Pipe Open a pipe.
Definition: usbh_pipes.c:93
uint8_t
const uint8_t[]
Definition: 404_html.c:3
USBH_StatusTypeDef
USBH_StatusTypeDef
Definition: usbh_def.h:302
USBH_AllocPipe
uint8_t USBH_AllocPipe(USBH_HandleTypeDef *phost, uint8_t ep_addr)
USBH_Alloc_Pipe Allocate a new Pipe.
Definition: usbh_pipes.c:138