101 pdev->dev.in_ep[0].total_data_len = len;
102 pdev->dev.in_ep[0].rem_data_len = len;
144 pdev->dev.out_ep[0].total_data_len = len;
145 pdev->dev.out_ep[0].rem_data_len = len;
192 USB_OTG_EP0_OutStart(pdev);
212 USB_OTG_EP0_OutStart(pdev);
227 return pdev->dev.out_ep[epnum].xfer_count;
#define USB_OTG_EP0_STATUS_IN
uint32_t DCD_EP_Tx(USB_OTG_CORE_HANDLE *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t buf_len)
Transmit data over USB.
#define USB_OTG_EP0_STATUS_OUT
USBD_Status USBD_CtlSendData(USB_OTG_CORE_HANDLE *pdev, uint8_t *pbuf, uint16_t len)
USBD_CtlSendData send data on the ctl pipe.
#define USB_OTG_EP0_DATA_OUT
USBD_Status USBD_CtlPrepareRx(USB_OTG_CORE_HANDLE *pdev, uint8_t *pbuf, uint16_t len)
USBD_CtlPrepareRx receive data on the ctl pipe.
USBD_Status USBD_CtlContinueSendData(USB_OTG_CORE_HANDLE *pdev, uint8_t *pbuf, uint16_t len)
USBD_CtlContinueSendData continue sending data on the ctl pipe.
uint32_t DCD_EP_PrepareRx(USB_OTG_CORE_HANDLE *pdev, uint8_t ep_addr, uint8_t *pbuf, uint16_t buf_len)
DCD_EP_PrepareRx.
header file for the usbd_ioreq.c file
#define USB_OTG_EP0_DATA_IN
USBD_Status USBD_CtlSendStatus(USB_OTG_CORE_HANDLE *pdev)
USBD_CtlSendStatus send zero length packet on the ctl pipe.
USBD_Status USBD_CtlReceiveStatus(USB_OTG_CORE_HANDLE *pdev)
USBD_CtlReceiveStatus receive zero length packet on the ctl pipe.
uint16_t USBD_GetRxCount(USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
USBD_GetRxCount returns the received data length.
USBD_Status USBD_CtlContinueRx(USB_OTG_CORE_HANDLE *pdev, uint8_t *pbuf, uint16_t len)
USBD_CtlContinueRx continue receive data on the ctl pipe.