Nirvana Jay / Mbed 2 deprecated F7DISCO_Demo

Dependencies:   BSP_DISCO_F746NG_patch mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

USBH_IOREQ_Private_Functions

USBH_IOREQ_Private_Functions
[USBH_IOREQ]

Functions

USBH_StatusTypeDef USBH_CtlSendSetup (USBH_HandleTypeDef *phost, uint8_t *buff, uint8_t pipe_num)
 USBH_CtlSendSetup Sends the Setup Packet to the Device.
USBH_StatusTypeDef USBH_CtlSendData (USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t pipe_num, uint8_t do_ping)
 USBH_CtlSendData Sends a data Packet to the Device.
USBH_StatusTypeDef USBH_CtlReceiveData (USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t pipe_num)
 USBH_CtlReceiveData Receives the Device Response to the Setup Packet.
USBH_StatusTypeDef USBH_BulkSendData (USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t pipe_num, uint8_t do_ping)
 USBH_BulkSendData Sends the Bulk Packet to the device.
USBH_StatusTypeDef USBH_BulkReceiveData (USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t pipe_num)
 USBH_BulkReceiveData Receives IN bulk packet from device.
USBH_StatusTypeDef USBH_InterruptReceiveData (USBH_HandleTypeDef *phost, uint8_t *buff, uint8_t length, uint8_t pipe_num)
 USBH_InterruptReceiveData Receives the Device Response to the Interrupt IN token.
USBH_StatusTypeDef USBH_InterruptSendData (USBH_HandleTypeDef *phost, uint8_t *buff, uint8_t length, uint8_t pipe_num)
 USBH_InterruptSendData Sends the data on Interrupt OUT Endpoint.
USBH_StatusTypeDef USBH_IsocReceiveData (USBH_HandleTypeDef *phost, uint8_t *buff, uint32_t length, uint8_t pipe_num)
 USBH_IsocReceiveData Receives the Device Response to the Isochronous IN token.
USBH_StatusTypeDef USBH_IsocSendData (USBH_HandleTypeDef *phost, uint8_t *buff, uint32_t length, uint8_t pipe_num)
 USBH_IsocSendData Sends the data on Isochronous OUT Endpoint.

Function Documentation

USBH_StatusTypeDef USBH_BulkReceiveData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint16_t  length,
uint8_t  pipe_num 
)

USBH_BulkReceiveData Receives IN bulk packet from device.

Parameters:
phost,:Host Handle
buff,:Buffer pointer in which the received data packet to be copied
length,:Length of the data to be received
pipe_num,:Pipe Number
Return values:
USBHStatus.

Definition at line 218 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_BulkSendData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint16_t  length,
uint8_t  pipe_num,
uint8_t  do_ping 
)

USBH_BulkSendData Sends the Bulk Packet to the device.

Parameters:
phost,:Host Handle
buff,:Buffer pointer from which the Data will be sent to Device
length,:Length of the data to be sent
pipe_num,:Pipe Number
Return values:
USBHStatus

Definition at line 186 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_CtlReceiveData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint16_t  length,
uint8_t  pipe_num 
)

USBH_CtlReceiveData Receives the Device Response to the Setup Packet.

Parameters:
phost,:Host Handle
buff,:Buffer pointer in which the response needs to be copied
length,:Length of the data to be received
pipe_num,:Pipe Number
Return values:
USBHStatus.

Definition at line 159 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_CtlSendData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint16_t  length,
uint8_t  pipe_num,
uint8_t  do_ping 
)

USBH_CtlSendData Sends a data Packet to the Device.

Parameters:
phost,:Host Handle
buff,:Buffer pointer from which the Data will be sent to Device
length,:Length of the data to be sent
pipe_num,:Pipe Number
Return values:
USBHStatus

Definition at line 126 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_CtlSendSetup ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint8_t  pipe_num 
)

USBH_CtlSendSetup Sends the Setup Packet to the Device.

Parameters:
phost,:Host Handle
buff,:Buffer pointer from which the Data will be send to Device
pipe_num,:Pipe Number
Return values:
USBHStatus

Definition at line 100 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_InterruptReceiveData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint8_t  length,
uint8_t  pipe_num 
)

USBH_InterruptReceiveData Receives the Device Response to the Interrupt IN token.

Parameters:
phost,:Host Handle
buff,:Buffer pointer in which the response needs to be copied
length,:Length of the data to be received
pipe_num,:Pipe Number
Return values:
USBHStatus.

Definition at line 244 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_InterruptSendData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint8_t  length,
uint8_t  pipe_num 
)

USBH_InterruptSendData Sends the data on Interrupt OUT Endpoint.

Parameters:
phost,:Host Handle
buff,:Buffer pointer from where the data needs to be copied
length,:Length of the data to be sent
pipe_num,:Pipe Number
Return values:
USBHStatus.

Definition at line 270 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_IsocReceiveData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint32_t  length,
uint8_t  pipe_num 
)

USBH_IsocReceiveData Receives the Device Response to the Isochronous IN token.

Parameters:
phost,:Host Handle
buff,:Buffer pointer in which the response needs to be copied
length,:Length of the data to be received
pipe_num,:Pipe Number
Return values:
USBHStatus.

Definition at line 296 of file usbh_ioreq.c.

USBH_StatusTypeDef USBH_IsocSendData ( USBH_HandleTypeDef *  phost,
uint8_t *  buff,
uint32_t  length,
uint8_t  pipe_num 
)

USBH_IsocSendData Sends the data on Isochronous OUT Endpoint.

Parameters:
phost,:Host Handle
buff,:Buffer pointer from where the data needs to be copied
length,:Length of the data to be sent
pipe_num,:Pipe Number
Return values:
USBHStatus.

Definition at line 323 of file usbh_ioreq.c.