STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
usbh_ioreq.h
Go to the documentation of this file.
1 
28 /* Define to prevent recursive ----------------------------------------------*/
29 #ifndef __USBH_IOREQ_H
30 #define __USBH_IOREQ_H
31 
32 #ifdef __cplusplus
33  extern "C" {
34 #endif
35 
36 /* Includes ------------------------------------------------------------------*/
37 #include "usbh_conf.h"
38 #include "usbh_core.h"
39 
58 #define USBH_PID_SETUP 0
59 #define USBH_PID_DATA 1
60 
61 #define USBH_EP_CONTROL 0
62 #define USBH_EP_ISO 1
63 #define USBH_EP_BULK 2
64 #define USBH_EP_INTERRUPT 3
65 
66 #define USBH_SETUP_PKT_SIZE 8
67 
98  uint8_t *buff,
99  uint8_t hc_num);
100 
102  uint8_t *buff,
103  uint16_t length,
104  uint8_t hc_num,
105  uint8_t do_ping );
106 
108  uint8_t *buff,
109  uint16_t length,
110  uint8_t hc_num);
111 
113  uint8_t *buff,
114  uint16_t length,
115  uint8_t hc_num);
116 
118  uint8_t *buff,
119  uint16_t length,
120  uint8_t hc_num,
121  uint8_t do_ping );
122 
124  uint8_t *buff,
125  uint8_t length,
126  uint8_t hc_num);
127 
129  uint8_t *buff,
130  uint8_t length,
131  uint8_t hc_num);
132 
133 
135  uint8_t *buff,
136  uint32_t length,
137  uint8_t hc_num);
138 
139 
141  uint8_t *buff,
142  uint32_t length,
143  uint8_t hc_num);
148 #ifdef __cplusplus
149 }
150 #endif
151 
152 #endif /* __USBH_IOREQ_H */
153 
166 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
167 
168 
USBH_StatusTypeDef USBH_InterruptReceiveData(USBH_HandleTypeDef *phost, uint8_t *buff, uint8_t length, uint8_t hc_num)
USBH_InterruptReceiveData Receives the Device Response to the Interrupt IN token. ...
Definition: usbh_ioreq.c:244
Header file for usbh_core.c.
USBH_StatusTypeDef USBH_IsocReceiveData(USBH_HandleTypeDef *phost, uint8_t *buff, uint32_t length, uint8_t hc_num)
USBH_IsocReceiveData Receives the Device Response to the Isochronous IN token.
Definition: usbh_ioreq.c:296
USBH_StatusTypeDef USBH_BulkReceiveData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t hc_num)
USBH_BulkReceiveData Receives IN bulk packet from device.
Definition: usbh_ioreq.c:218
USBH_StatusTypeDef USBH_BulkSendData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t hc_num, uint8_t do_ping)
USBH_BulkSendData Sends the Bulk Packet to the device.
Definition: usbh_ioreq.c:186
USBH_StatusTypeDef USBH_CtlSendData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t hc_num, uint8_t do_ping)
USBH_CtlSendData Sends a data Packet to the Device.
Definition: usbh_ioreq.c:126
USBH_StatusTypeDef USBH_CtlSendSetup(USBH_HandleTypeDef *phost, uint8_t *buff, uint8_t hc_num)
USBH_CtlSendSetup Sends the Setup Packet to the Device.
Definition: usbh_ioreq.c:100
USBH_StatusTypeDef USBH_CtlReceiveData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t hc_num)
USBH_CtlReceiveData Receives the Device Response to the Setup Packet.
Definition: usbh_ioreq.c:159
USBH_StatusTypeDef
Definition: usbh_def.h:302
USBH_StatusTypeDef USBH_InterruptSendData(USBH_HandleTypeDef *phost, uint8_t *buff, uint8_t length, uint8_t hc_num)
USBH_InterruptSendData Sends the data on Interrupt OUT Endpoint.
Definition: usbh_ioreq.c:270
USBH_StatusTypeDef USBH_IsocSendData(USBH_HandleTypeDef *phost, uint8_t *buff, uint32_t length, uint8_t hc_num)
USBH_IsocSendData Sends the data on Isochronous OUT Endpoint.
Definition: usbh_ioreq.c:323