Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 2 | mjames | 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 | * <h2><center>© Copyright (c) 2015 STMicroelectronics. |
||
| 10 | * All rights reserved.</center></h2> |
||
| 11 | * |
||
| 12 | * This software component is licensed by ST under Ultimate Liberty license |
||
| 13 | * SLA0044, the "License"; You may not use this file except in compliance with |
||
| 14 | * the License. You may obtain a copy of the License at: |
||
| 15 | * www.st.com/SLA0044 |
||
| 16 | * |
||
| 17 | ****************************************************************************** |
||
| 18 | */ |
||
| 19 | |||
| 20 | /* Define to prevent recursive inclusion -------------------------------------*/ |
||
| 21 | #ifndef __USB_REQUEST_H |
||
| 22 | #define __USB_REQUEST_H |
||
| 23 | |||
| 24 | #ifdef __cplusplus |
||
| 25 | extern "C" { |
||
| 26 | #endif |
||
| 27 | |||
| 28 | /* Includes ------------------------------------------------------------------*/ |
||
| 29 | #include "usbd_def.h" |
||
| 30 | |||
| 31 | |||
| 32 | /** @addtogroup STM32_USB_DEVICE_LIBRARY |
||
| 33 | * @{ |
||
| 34 | */ |
||
| 35 | |||
| 36 | /** @defgroup USBD_REQ |
||
| 37 | * @brief header file for the usbd_req.c file |
||
| 38 | * @{ |
||
| 39 | */ |
||
| 40 | |||
| 41 | /** @defgroup USBD_REQ_Exported_Defines |
||
| 42 | * @{ |
||
| 43 | */ |
||
| 44 | /** |
||
| 45 | * @} |
||
| 46 | */ |
||
| 47 | |||
| 48 | |||
| 49 | /** @defgroup USBD_REQ_Exported_Types |
||
| 50 | * @{ |
||
| 51 | */ |
||
| 52 | /** |
||
| 53 | * @} |
||
| 54 | */ |
||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | /** @defgroup USBD_REQ_Exported_Macros |
||
| 59 | * @{ |
||
| 60 | */ |
||
| 61 | /** |
||
| 62 | * @} |
||
| 63 | */ |
||
| 64 | |||
| 65 | /** @defgroup USBD_REQ_Exported_Variables |
||
| 66 | * @{ |
||
| 67 | */ |
||
| 68 | /** |
||
| 69 | * @} |
||
| 70 | */ |
||
| 71 | |||
| 72 | /** @defgroup USBD_REQ_Exported_FunctionsPrototype |
||
| 73 | * @{ |
||
| 74 | */ |
||
| 75 | |||
| 76 | USBD_StatusTypeDef USBD_StdDevReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req); |
||
| 77 | USBD_StatusTypeDef USBD_StdItfReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req); |
||
| 78 | USBD_StatusTypeDef USBD_StdEPReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req); |
||
| 79 | |||
| 80 | |||
| 81 | void USBD_CtlError(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req); |
||
| 82 | |||
| 83 | void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata); |
||
| 84 | |||
| 85 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len); |
||
| 86 | /** |
||
| 87 | * @} |
||
| 88 | */ |
||
| 89 | |||
| 90 | #ifdef __cplusplus |
||
| 91 | } |
||
| 92 | #endif |
||
| 93 | |||
| 94 | #endif /* __USB_REQUEST_H */ |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @} |
||
| 98 | */ |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @} |
||
| 102 | */ |
||
| 103 | |||
| 104 | |||
| 105 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |