source: S-port/trunk/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h@ 1

Last change on this file since 1 was 1, checked in by AlexLir, 2 years ago
File size: 2.5 KB
Line 
1/**
2 ******************************************************************************
3 * @file usbd_ioreq.h
4 * @author MCD Application Team
5 * @brief Header file for the usbd_ioreq.c file
6 ******************************************************************************
7 * @attention
8 *
9 * <h2><center>&copy; 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 __USBD_IOREQ_H
22#define __USBD_IOREQ_H
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/* Includes ------------------------------------------------------------------*/
29#include "usbd_def.h"
30#include "usbd_core.h"
31
32/** @addtogroup STM32_USB_DEVICE_LIBRARY
33 * @{
34 */
35
36/** @defgroup USBD_IOREQ
37 * @brief header file for the usbd_ioreq.c file
38 * @{
39 */
40
41/** @defgroup USBD_IOREQ_Exported_Defines
42 * @{
43 */
44/**
45 * @}
46 */
47
48
49/** @defgroup USBD_IOREQ_Exported_Types
50 * @{
51 */
52
53
54/**
55 * @}
56 */
57
58
59
60/** @defgroup USBD_IOREQ_Exported_Macros
61 * @{
62 */
63
64/**
65 * @}
66 */
67
68/** @defgroup USBD_IOREQ_Exported_Variables
69 * @{
70 */
71
72/**
73 * @}
74 */
75
76/** @defgroup USBD_IOREQ_Exported_FunctionsPrototype
77 * @{
78 */
79
80USBD_StatusTypeDef USBD_CtlSendData(USBD_HandleTypeDef *pdev,
81 uint8_t *pbuf, uint32_t len);
82
83USBD_StatusTypeDef USBD_CtlContinueSendData(USBD_HandleTypeDef *pdev,
84 uint8_t *pbuf, uint32_t len);
85
86USBD_StatusTypeDef USBD_CtlPrepareRx(USBD_HandleTypeDef *pdev,
87 uint8_t *pbuf, uint32_t len);
88
89USBD_StatusTypeDef USBD_CtlContinueRx(USBD_HandleTypeDef *pdev,
90 uint8_t *pbuf, uint32_t len);
91
92USBD_StatusTypeDef USBD_CtlSendStatus(USBD_HandleTypeDef *pdev);
93USBD_StatusTypeDef USBD_CtlReceiveStatus(USBD_HandleTypeDef *pdev);
94
95uint32_t USBD_GetRxCount(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
96
97/**
98 * @}
99 */
100
101#ifdef __cplusplus
102}
103#endif
104
105#endif /* __USBD_IOREQ_H */
106
107/**
108 * @}
109 */
110
111/**
112 * @}
113 */
114/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Note: See TracBrowser for help on using the repository browser.