Functions
USBD_IOREQ_Exported_FunctionsPrototype
Collaboration diagram for USBD_IOREQ_Exported_FunctionsPrototype:

Functions

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_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_CtlReceiveStatus (USB_OTG_CORE_HANDLE *pdev)
 USBD_CtlReceiveStatus receive zero length packet on the ctl pipe. More...
 
USBD_Status USBD_CtlSendData (USB_OTG_CORE_HANDLE *pdev, uint8_t *buf, uint16_t len)
 USBD_CtlSendData send data on the ctl pipe. More...
 
USBD_Status USBD_CtlSendStatus (USB_OTG_CORE_HANDLE *pdev)
 USBD_CtlSendStatus send zero length 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...
 

Detailed Description

Function Documentation

USBD_Status USBD_CtlContinueRx ( USB_OTG_CORE_HANDLE pdev,
uint8_t *  pbuf,
uint16_t  len 
)

USBD_CtlContinueRx continue receive data on the ctl pipe.

Parameters
pdevUSB OTG device instance
buffpointer to data buffer
lenlength of data to be received
Return values
status

Definition at line 165 of file usbd_ioreq.c.

USBD_Status USBD_CtlContinueSendData ( USB_OTG_CORE_HANDLE pdev,
uint8_t *  pbuf,
uint16_t  len 
)

USBD_CtlContinueSendData continue sending data on the ctl pipe.

Parameters
pdevdevice instance
buffpointer to data buffer
lenlength of data to be sent
Return values
status

Definition at line 118 of file usbd_ioreq.c.

USBD_Status USBD_CtlPrepareRx ( USB_OTG_CORE_HANDLE pdev,
uint8_t *  pbuf,
uint16_t  len 
)

USBD_CtlPrepareRx receive data on the ctl pipe.

Parameters
pdevUSB OTG device instance
buffpointer to data buffer
lenlength of data to be received
Return values
status

Definition at line 138 of file usbd_ioreq.c.

USBD_Status USBD_CtlReceiveStatus ( USB_OTG_CORE_HANDLE pdev)

USBD_CtlReceiveStatus receive zero length packet on the ctl pipe.

Parameters
pdevUSB OTG device instance
Return values
status

Definition at line 203 of file usbd_ioreq.c.

USBD_Status USBD_CtlSendData ( USB_OTG_CORE_HANDLE pdev,
uint8_t *  pbuf,
uint16_t  len 
)

USBD_CtlSendData send data on the ctl pipe.

Parameters
pdevdevice instance
buffpointer to data buffer
lenlength of data to be sent
Return values
status

Definition at line 95 of file usbd_ioreq.c.

USBD_Status USBD_CtlSendStatus ( USB_OTG_CORE_HANDLE pdev)

USBD_CtlSendStatus send zero length packet on the ctl pipe.

Parameters
pdevUSB OTG device instance
Return values
status

Definition at line 183 of file usbd_ioreq.c.

uint16_t USBD_GetRxCount ( USB_OTG_CORE_HANDLE pdev,
uint8_t  epnum 
)

USBD_GetRxCount returns the received data length.

Parameters
pdevUSB OTG device instance epnum: endpoint index
Return values
RxData blength

Definition at line 225 of file usbd_ioreq.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:54