STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
usbd_ioreq.h
Go to the documentation of this file.
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 * 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 __USBD_IOREQ_H
21#define __USBD_IOREQ_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* Includes ------------------------------------------------------------------*/
28#include "usbd_def.h"
29#include "usbd_core.h"
30
31/** @addtogroup STM32_USB_DEVICE_LIBRARY
32 * @{
33 */
34
35/** @defgroup USBD_IOREQ
36 * @brief header file for the usbd_ioreq.c file
37 * @{
38 */
39
40/** @defgroup USBD_IOREQ_Exported_Defines
41 * @{
42 */
43/**
44 * @}
45 */
46
47
48/** @defgroup USBD_IOREQ_Exported_Types
49 * @{
50 */
51
52
53/**
54 * @}
55 */
56
57
58
59/** @defgroup USBD_IOREQ_Exported_Macros
60 * @{
61 */
62
63/**
64 * @}
65 */
66
67/** @defgroup USBD_IOREQ_Exported_Variables
68 * @{
69 */
70
71/**
72 * @}
73 */
74
75/** @defgroup USBD_IOREQ_Exported_FunctionsPrototype
76 * @{
77 */
78
80 uint8_t *pbuf, uint32_t len);
81
83 uint8_t *pbuf, uint32_t len);
84
86 uint8_t *pbuf, uint32_t len);
87
89 uint8_t *pbuf, uint32_t len);
90
93
94uint32_t USBD_GetRxCount(USBD_HandleTypeDef *pdev, uint8_t ep_addr);
95
96/**
97 * @}
98 */
99
100#ifdef __cplusplus
101}
102#endif
103
104#endif /* __USBD_IOREQ_H */
105
106/**
107 * @}
108 */
109
110/**
111 * @}
112 */
113
struct _USBD_HandleTypeDef USBD_HandleTypeDef
USBD_StatusTypeDef
Definition usbd_def.h:280
USBD_StatusTypeDef USBD_CtlSendStatus(USBD_HandleTypeDef *pdev)
USBD_CtlSendStatus send zero lzngth packet on the ctl pipe.
Definition usbd_ioreq.c:173
uint32_t USBD_GetRxCount(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
USBD_GetRxCount returns the received data length.
Definition usbd_ioreq.c:208
USBD_StatusTypeDef USBD_CtlContinueSendData(USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len)
USBD_CtlContinueSendData continue sending data on the ctl pipe.
Definition usbd_ioreq.c:114
USBD_StatusTypeDef USBD_CtlContinueRx(USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len)
USBD_CtlContinueRx continue receive data on the ctl pipe.
Definition usbd_ioreq.c:159
USBD_StatusTypeDef USBD_CtlReceiveStatus(USBD_HandleTypeDef *pdev)
USBD_CtlReceiveStatus receive zero lzngth packet on the ctl pipe.
Definition usbd_ioreq.c:190
USBD_StatusTypeDef USBD_CtlSendData(USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len)
USBD_CtlSendData send data on the ctl pipe.
Definition usbd_ioreq.c:86
USBD_StatusTypeDef USBD_CtlPrepareRx(USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len)
USBD_CtlPrepareRx receive data on the ctl pipe.
Definition usbd_ioreq.c:131
Header file for usbd_core.c file.
General defines for the usb device library.