Go to most recent revision | Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 2 | mjames | 1 | /** |
| 2 | ****************************************************************************** |
||
| 3 | * @file usbd_ioreq.h |
||
| 4 | * @author MCD Application Team |
||
| 5 | * @version V2.4.2 |
||
| 6 | * @date 11-December-2015 |
||
| 7 | * @brief Header file for the usbd_ioreq.c file |
||
| 8 | ****************************************************************************** |
||
| 9 | * @attention |
||
| 10 | * |
||
| 11 | * <h2><center>© 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 __USBD_IOREQ_H |
||
| 30 | #define __USBD_IOREQ_H |
||
| 31 | |||
| 32 | #ifdef __cplusplus |
||
| 33 | extern "C" { |
||
| 34 | #endif |
||
| 35 | |||
| 36 | /* Includes ------------------------------------------------------------------*/ |
||
| 37 | #include "usbd_def.h" |
||
| 38 | #include "usbd_core.h" |
||
| 39 | |||
| 40 | /** @addtogroup STM32_USB_DEVICE_LIBRARY |
||
| 41 | * @{ |
||
| 42 | */ |
||
| 43 | |||
| 44 | /** @defgroup USBD_IOREQ |
||
| 45 | * @brief header file for the usbd_ioreq.c file |
||
| 46 | * @{ |
||
| 47 | */ |
||
| 48 | |||
| 49 | /** @defgroup USBD_IOREQ_Exported_Defines |
||
| 50 | * @{ |
||
| 51 | */ |
||
| 52 | /** |
||
| 53 | * @} |
||
| 54 | */ |
||
| 55 | |||
| 56 | |||
| 57 | /** @defgroup USBD_IOREQ_Exported_Types |
||
| 58 | * @{ |
||
| 59 | */ |
||
| 60 | |||
| 61 | |||
| 62 | /** |
||
| 63 | * @} |
||
| 64 | */ |
||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | /** @defgroup USBD_IOREQ_Exported_Macros |
||
| 69 | * @{ |
||
| 70 | */ |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @} |
||
| 74 | */ |
||
| 75 | |||
| 76 | /** @defgroup USBD_IOREQ_Exported_Variables |
||
| 77 | * @{ |
||
| 78 | */ |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @} |
||
| 82 | */ |
||
| 83 | |||
| 84 | /** @defgroup USBD_IOREQ_Exported_FunctionsPrototype |
||
| 85 | * @{ |
||
| 86 | */ |
||
| 87 | |||
| 88 | USBD_StatusTypeDef USBD_CtlSendData (USBD_HandleTypeDef *pdev, |
||
| 89 | uint8_t *buf, |
||
| 90 | uint16_t len); |
||
| 91 | |||
| 92 | USBD_StatusTypeDef USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev, |
||
| 93 | uint8_t *pbuf, |
||
| 94 | uint16_t len); |
||
| 95 | |||
| 96 | USBD_StatusTypeDef USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev, |
||
| 97 | uint8_t *pbuf, |
||
| 98 | uint16_t len); |
||
| 99 | |||
| 100 | USBD_StatusTypeDef USBD_CtlContinueRx (USBD_HandleTypeDef *pdev, |
||
| 101 | uint8_t *pbuf, |
||
| 102 | uint16_t len); |
||
| 103 | |||
| 104 | USBD_StatusTypeDef USBD_CtlSendStatus (USBD_HandleTypeDef *pdev); |
||
| 105 | |||
| 106 | USBD_StatusTypeDef USBD_CtlReceiveStatus (USBD_HandleTypeDef *pdev); |
||
| 107 | |||
| 108 | uint16_t USBD_GetRxCount (USBD_HandleTypeDef *pdev , |
||
| 109 | uint8_t epnum); |
||
| 110 | |||
| 111 | /** |
||
| 112 | * @} |
||
| 113 | */ |
||
| 114 | |||
| 115 | #ifdef __cplusplus |
||
| 116 | } |
||
| 117 | #endif |
||
| 118 | |||
| 119 | #endif /* __USBD_IOREQ_H */ |
||
| 120 | |||
| 121 | /** |
||
| 122 | * @} |
||
| 123 | */ |
||
| 124 | |||
| 125 | /** |
||
| 126 | * @} |
||
| 127 | */ |
||
| 128 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |