APM:Libraries
|
Functions | |
USBD_Status | USBD_CtlSendData (USB_OTG_CORE_HANDLE *pdev, const uint8_t *pbuf, uint16_t len) |
USBD_CtlSendData send data on the ctl pipe. More... | |
USBD_Status | USBD_CtlContinueSendData (USB_OTG_CORE_HANDLE *pdev, uint8_t *pbuf, uint16_t len) |
USBD_CtlContinueSendData continue sending data on the ctl pipe. More... | |
USBD_Status | USBD_CtlPrepareRx (USB_OTG_CORE_HANDLE *pdev, uint8_t *pbuf, uint16_t len) |
USBD_CtlPrepareRx receive data on the ctl pipe. More... | |
USBD_Status | USBD_CtlContinueRx (USB_OTG_CORE_HANDLE *pdev, uint8_t *pbuf, uint16_t len) |
USBD_CtlContinueRx continue receive data on the ctl pipe. More... | |
USBD_Status | USBD_CtlSendStatus (USB_OTG_CORE_HANDLE *pdev) |
USBD_CtlSendStatus send zero lzngth packet on the ctl pipe. More... | |
USBD_Status | USBD_CtlReceiveStatus (USB_OTG_CORE_HANDLE *pdev) |
USBD_CtlReceiveStatus receive zero lzngth packet on the ctl pipe. More... | |
uint16_t | USBD_GetRxCount (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum) |
USBD_GetRxCount returns the received data length. More... | |
USBD_Status USBD_CtlContinueRx | ( | USB_OTG_CORE_HANDLE * | pdev, |
uint8_t * | pbuf, | ||
uint16_t | len | ||
) |
USBD_CtlContinueRx continue receive data on the ctl pipe.
pdev | USB OTG device instance |
buff | pointer to data buffer |
len | length of data to be received |
status |
Definition at line 165 of file usbd_ioreq.c.
Referenced by USBD_DataOutStage().
USBD_Status USBD_CtlContinueSendData | ( | USB_OTG_CORE_HANDLE * | pdev, |
uint8_t * | pbuf, | ||
uint16_t | len | ||
) |
USBD_CtlContinueSendData continue sending data on the ctl pipe.
pdev | device instance |
buff | pointer to data buffer |
len | length of data to be sent |
status |
Definition at line 118 of file usbd_ioreq.c.
Referenced by USBD_DataInStage().
USBD_Status USBD_CtlPrepareRx | ( | USB_OTG_CORE_HANDLE * | pdev, |
uint8_t * | pbuf, | ||
uint16_t | len | ||
) |
USBD_CtlPrepareRx receive data on the ctl pipe.
pdev | USB OTG device instance |
buff | pointer to data buffer |
len | length of data to be received |
status |
Definition at line 138 of file usbd_ioreq.c.
Referenced by usbd_cdc_Setup().
USBD_Status USBD_CtlReceiveStatus | ( | USB_OTG_CORE_HANDLE * | pdev | ) |
USBD_CtlReceiveStatus receive zero lzngth packet on the ctl pipe.
pdev | USB OTG device instance |
status |
Definition at line 203 of file usbd_ioreq.c.
Referenced by USBD_DataInStage().
USBD_Status USBD_CtlSendData | ( | USB_OTG_CORE_HANDLE * | pdev, |
const uint8_t * | pbuf, | ||
uint16_t | len | ||
) |
USBD_CtlSendData send data on the ctl pipe.
pdev | device instance |
buff | pointer to data buffer |
len | length of data to be sent |
status |
Definition at line 95 of file usbd_ioreq.c.
Referenced by usbd_cdc_Setup(), USBD_GetConfig(), USBD_GetDescriptor(), USBD_GetStatus(), USBD_MSC_Setup(), and USBD_StdEPReq().
USBD_Status USBD_CtlSendStatus | ( | USB_OTG_CORE_HANDLE * | pdev | ) |
USBD_CtlSendStatus send zero lzngth packet on the ctl pipe.
pdev | USB OTG device instance |
status |
Definition at line 183 of file usbd_ioreq.c.
Referenced by USBD_ClrFeature(), USBD_DataOutStage(), USBD_SetAddress(), USBD_SetConfig(), USBD_SetFeature(), USBD_StdEPReq(), and USBD_StdItfReq().
uint16_t USBD_GetRxCount | ( | USB_OTG_CORE_HANDLE * | pdev, |
uint8_t | epnum | ||
) |
USBD_GetRxCount returns the received data length.
pdev | USB OTG device instance epnum: endpoint index |
Rx | Data blength |
Definition at line 225 of file usbd_ioreq.c.
Referenced by MSC_BOT_CBW_Decode().