23 #ifndef __USBH_IOREQ_H
24 #define __USBH_IOREQ_H
49 #define USBH_SETUP_PKT_SIZE 8
50 #define USBH_EP0_EP_NUM 0
51 #define USBH_MAX_PACKET_SIZE 0x40
USBH_Status USBH_BulkReceiveData(USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint16_t length, uint8_t hc_num)
USBH_BulkReceiveData Receives IN bulk packet from device.
Definition: usbh_ioreq.c:275
Header file for usbh_core.c.
USBH_Status USBH_InterruptReceiveData(USB_OTG_CORE_HANDLE *pdev, 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:308
USBH_Status USBH_BulkSendData(USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint16_t length, uint8_t hc_num)
USBH_BulkSendData Sends the Bulk Packet to the device.
Definition: usbh_ioreq.c:242
Definition: usb_core.h:287
USBH_Status USBH_CtlSendData(USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t length, uint8_t hc_num)
USBH_CtlSendData Sends a data Packet to the Device.
Definition: usbh_ioreq.c:176
USBH_Status USBH_CtlReceiveData(USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t length, uint8_t hc_num)
USBH_CtlReceiveData Receives the Device Response to the Setup Packet.
Definition: usbh_ioreq.c:215
USBH_Status USBH_CtlReq(USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost, uint8_t *buff, uint16_t length)
USBH_CtlReq USBH_CtlReq sends a control request and provide the status after completion of the reques...
Definition: usbh_ioreq.c:99
USBH_Status USBH_CtlSendSetup(USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t hc_num)
USBH_CtlSendSetup Sends the Setup Packet to the Device.
Definition: usbh_ioreq.c:155
Definition: usbh_core.h:215
USBH_Status USBH_InterruptSendData(USB_OTG_CORE_HANDLE *pdev, uint8_t *buff, uint8_t length, uint8_t hc_num)
USBH_InterruptSendData Sends the data on Interrupt OUT Endpoint.
Definition: usbh_ioreq.c:346
Definitions used in the USB host library.