2 ******************************************************************************
4 * @author MCD Application Team
7 * @brief header file for the usbd_ioreq.c file
8 ******************************************************************************
11 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
12 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
13 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
14 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
15 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
16 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
18 * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2>
19 ******************************************************************************
22 /* Define to prevent recursive inclusion -------------------------------------*/
24 #ifndef __USBD_IOREQ_H_
25 #define __USBD_IOREQ_H_
27 /* Includes ------------------------------------------------------------------*/
29 #include "usbd_core.h"
31 /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
35 /** @defgroup USBD_IOREQ
36 * @brief header file for the usbd_ioreq.c file
40 /** @defgroup USBD_IOREQ_Exported_Defines
48 /** @defgroup USBD_IOREQ_Exported_Types
59 /** @defgroup USBD_IOREQ_Exported_Macros
67 /** @defgroup USBD_IOREQ_Exported_Variables
75 /** @defgroup USBD_IOREQ_Exported_FunctionsPrototype
79 USBD_Status USBD_CtlSendData (USB_OTG_CORE_HANDLE *pdev,
83 USBD_Status USBD_CtlContinueSendData (USB_OTG_CORE_HANDLE *pdev,
87 USBD_Status USBD_CtlPrepareRx (USB_OTG_CORE_HANDLE *pdev,
91 USBD_Status USBD_CtlContinueRx (USB_OTG_CORE_HANDLE *pdev,
95 USBD_Status USBD_CtlSendStatus (USB_OTG_CORE_HANDLE *pdev);
97 USBD_Status USBD_CtlReceiveStatus (USB_OTG_CORE_HANDLE *pdev);
99 uint16_t USBD_GetRxCount (USB_OTG_CORE_HANDLE *pdev ,
106 #endif /* __USBD_IOREQ_H_ */
115 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/