STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
usbd_ctlreq.h
Go to the documentation of this file.
1/**
2 ******************************************************************************
3 * @file usbd_req.h
4 * @author MCD Application Team
5 * @brief Header file for the usbd_req.c file
6 ******************************************************************************
7 * @attention
8 *
9 * Copyright (c) 2015 STMicroelectronics.
10 * All rights reserved.
11 *
12 * This software is licensed under terms that can be found in the LICENSE file
13 * in the root directory of this software component.
14 * If no LICENSE file comes with this software, it is provided AS-IS.
15 *
16 ******************************************************************************
17 */
18
19/* Define to prevent recursive inclusion -------------------------------------*/
20#ifndef __USB_REQUEST_H
21#define __USB_REQUEST_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* Includes ------------------------------------------------------------------*/
28#include "usbd_def.h"
29
30
31/** @addtogroup STM32_USB_DEVICE_LIBRARY
32 * @{
33 */
34
35/** @defgroup USBD_REQ
36 * @brief header file for the usbd_req.c file
37 * @{
38 */
39
40/** @defgroup USBD_REQ_Exported_Defines
41 * @{
42 */
43/**
44 * @}
45 */
46
47
48/** @defgroup USBD_REQ_Exported_Types
49 * @{
50 */
51/**
52 * @}
53 */
54
55
56
57/** @defgroup USBD_REQ_Exported_Macros
58 * @{
59 */
60/**
61 * @}
62 */
63
64/** @defgroup USBD_REQ_Exported_Variables
65 * @{
66 */
67/**
68 * @}
69 */
70
71/** @defgroup USBD_REQ_Exported_FunctionsPrototype
72 * @{
73 */
74
78
80void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata);
81void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
82
83/**
84 * @}
85 */
86
87#ifdef __cplusplus
88}
89#endif
90
91#endif /* __USB_REQUEST_H */
92
93/**
94 * @}
95 */
96
97/**
98 * @}
99 */
100
101
struct _USBD_HandleTypeDef USBD_HandleTypeDef
struct usb_setup_req USBD_SetupReqTypedef
USBD_StatusTypeDef
Definition usbd_def.h:280
USBD_StatusTypeDef USBD_StdEPReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_StdEPReq Handle standard usb endpoint requests.
void USBD_CtlError(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_CtlError Handle USB low level Error.
void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata)
USBD_ParseSetupRequest Copy buffer into setup structure.
void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len)
USBD_GetString Convert Ascii string into unicode one.
USBD_StatusTypeDef USBD_StdItfReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_StdItfReq Handle standard usb interface requests.
USBD_StatusTypeDef USBD_StdDevReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
USBD_StdDevReq Handle standard usb device requests.
General defines for the usb device library.