pspsdk-1.0+beta2
UsbdDeviceReq Struct Reference

USB device request, used by sceUsbbdReqSend and sceUsbbdReqRecv. More...

#include <src/usb/pspusbbus.h>

Collaboration diagram for UsbdDeviceReq:

Data Fields

struct UsbEndpointendp
 Pointer to the endpoint to queue request on.
void * data
 Pointer to the data buffer to use in the request.
int size
 Size of the data buffer (send == size of data, recv == size of max receive)
int unkc
 Unknown.
void * func
 Pointer to the function to call on completion.
int recvsize
 Resultant size (send == size of data sent, recv == size of data received)
int retcode
 Return code of the request, 0 == success, -3 == cancelled.
int unk1c
 Unknown.
void * arg
 A user specified pointer for the device request.
void * link
 Link pointer to next request used by the driver, set it to NULL.

Detailed Description

USB device request, used by sceUsbbdReqSend and sceUsbbdReqRecv.

Field Documentation

void* UsbdDeviceReq::arg

A user specified pointer for the device request.

void* UsbdDeviceReq::data

Pointer to the data buffer to use in the request.

struct UsbEndpoint* UsbdDeviceReq::endp

Pointer to the endpoint to queue request on.

void* UsbdDeviceReq::func

Pointer to the function to call on completion.

void* UsbdDeviceReq::link

Link pointer to next request used by the driver, set it to NULL.

int UsbdDeviceReq::recvsize

Resultant size (send == size of data sent, recv == size of data received)

int UsbdDeviceReq::retcode

Return code of the request, 0 == success, -3 == cancelled.

int UsbdDeviceReq::size

Size of the data buffer (send == size of data, recv == size of max receive)

int UsbdDeviceReq::unk1c

Unknown.

int UsbdDeviceReq::unkc

Unknown.


The documentation for this struct was generated from the following file: