Prusa MINI Firmware overview
usbd_ctlreq.h
Go to the documentation of this file.
1 /**
2  ******************************************************************************
3  * @file usbd_req.h
4  * @author MCD Application Team
5  * @version V2.4.2
6  * @date 11-December-2015
7  * @brief Header file for the usbd_req.c file
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 inclusion -------------------------------------*/
29 #ifndef __USB_REQUEST_H
30 #define __USB_REQUEST_H
31 
32 #ifdef __cplusplus
33  extern "C" {
34 #endif
35 
36 /* Includes ------------------------------------------------------------------*/
37 #include "usbd_def.h"
38 
39 
40 /** @addtogroup STM32_USB_DEVICE_LIBRARY
41  * @{
42  */
43 
44 /** @defgroup USBD_REQ
45  * @brief header file for the usbd_req.c file
46  * @{
47  */
48 
49 /** @defgroup USBD_REQ_Exported_Defines
50  * @{
51  */
52 /**
53  * @}
54  */
55 
56 
57 /** @defgroup USBD_REQ_Exported_Types
58  * @{
59  */
60 /**
61  * @}
62  */
63 
64 
65 
66 /** @defgroup USBD_REQ_Exported_Macros
67  * @{
68  */
69 /**
70  * @}
71  */
72 
73 /** @defgroup USBD_REQ_Exported_Variables
74  * @{
75  */
76 /**
77  * @}
78  */
79 
80 /** @defgroup USBD_REQ_Exported_FunctionsPrototype
81  * @{
82  */
83 
87 
88 
90 
92 
93 void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len);
94 /**
95  * @}
96  */
97 
98 #ifdef __cplusplus
99 }
100 #endif
101 
102 #endif /* __USB_REQUEST_H */
103 
104 /**
105  * @}
106  */
107 
108 /**
109 * @}
110 */
111 
112 
113 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
USBD_CtlError
void USBD_CtlError(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_CtlError Handle USB low level Error.
Definition: usbd_ctlreq.c:716
usbd_def.h
General defines for the usb device library.
USBD_StdEPReq
USBD_StatusTypeDef USBD_StdEPReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_StdEPReq Handle standard usb endpoint requests.
Definition: usbd_ctlreq.c:207
USBD_StdDevReq
USBD_StatusTypeDef USBD_StdDevReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_StdDevReq Handle standard usb device requests.
Definition: usbd_ctlreq.c:119
USBD_ParseSetupRequest
void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata)
USBD_ParseSetupRequest Copy buffer into setup structure.
Definition: usbd_ctlreq.c:698
_USBD_HandleTypeDef
Definition: usbd_def.h:225
uint8_t
const uint8_t[]
Definition: 404_html.c:3
usb_setup_req
Definition: usbd_def.h:148
USBD_StatusTypeDef
USBD_StatusTypeDef
Definition: usbd_def.h:194
USBD_StdItfReq
USBD_StatusTypeDef USBD_StdItfReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_StdItfReq Handle standard usb interface requests.
Definition: usbd_ctlreq.c:170
USBD_GetString
void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len)
USBD_GetString Convert Ascii string into unicode one.
Definition: usbd_ctlreq.c:732