Go to the source code of this file.
Data Structures | |
struct | UsbInterface |
USB driver interface. More... | |
struct | UsbEndpoint |
USB driver endpoint. More... | |
struct | StringDescriptor |
USB string descriptor. More... | |
struct | DeviceDescriptor |
USB device descriptor. More... | |
struct | ConfigDescriptor |
USB configuration descriptor. More... | |
struct | InterfaceDescriptor |
USB Interface descriptor. More... | |
struct | EndpointDescriptor |
USB endpoint descriptor. More... | |
struct | UsbInterfaces |
USB driver interfaces structure. More... | |
struct | UsbConfiguration |
USB driver configuration. More... | |
struct | UsbData |
Padded data structure, padding is required otherwise the USB hardware crashes. More... | |
struct | UsbData::Config |
struct | UsbData::ConfDesc |
struct | UsbData::Interfaces |
struct | UsbData::InterDesc |
struct | UsbData::Endp |
struct | DeviceRequest |
USB EP0 Device Request. More... | |
struct | UsbDriver |
USB driver structure used by sceUsbbdRegisterDriver and sceUsbbdUnregisterDriver. More... | |
struct | UsbdDeviceReq |
USB device request, used by sceUsbbdReqSend and sceUsbbdReqRecv. More... | |
Functions | |
int | sceUsbbdRegister (struct UsbDriver *drv) |
Register a USB driver. | |
int | sceUsbbdUnregister (struct UsbDriver *drv) |
Unregister a USB driver. | |
int | sceUsbbdClearFIFO (struct UsbEndpoint *endp) |
Clear the FIFO on an endpoint. | |
int | sceUsbbdReqCancelAll (struct UsbEndpoint *endp) |
Cancel any pending requests on an endpoint. | |
int | sceUsbbdStall (struct UsbEndpoint *endp) |
Stall an endpoint. | |
int | sceUsbbdReqSend (struct UsbdDeviceReq *req) |
Queue a send request (IN from host pov). | |
int | sceUsbbdReqRecv (struct UsbdDeviceReq *req) |
Queue a receive request (OUT from host pov). | |
Variables | |
StringDescriptor | packed |
USB string descriptor. | |
DeviceDescriptor | packed |
USB device descriptor. | |
ConfigDescriptor | packed |
USB configuration descriptor. | |
InterfaceDescriptor | packed |
USB Interface descriptor. | |
EndpointDescriptor | packed |
USB endpoint descriptor. | |
UsbData | packed |
Padded data structure, padding is required otherwise the USB hardware crashes. | |
DeviceRequest | packed |
USB EP0 Device Request. |
int sceUsbbdClearFIFO | ( | struct UsbEndpoint * | endp | ) |
Clear the FIFO on an endpoint.
endp | - The endpoint to clear |
int sceUsbbdRegister | ( | struct UsbDriver * | drv | ) |
Register a USB driver.
drv | - Pointer to a filled out USB driver |
int sceUsbbdReqCancelAll | ( | struct UsbEndpoint * | endp | ) |
Cancel any pending requests on an endpoint.
endp | - The endpoint to cancel |
int sceUsbbdReqRecv | ( | struct UsbdDeviceReq * | req | ) |
Queue a receive request (OUT from host pov).
req | - Pointer to a filled out UsbdDeviceReq structure |
int sceUsbbdReqSend | ( | struct UsbdDeviceReq * | req | ) |
Queue a send request (IN from host pov).
req | - Pointer to a filled out UsbdDeviceReq structure. |
int sceUsbbdStall | ( | struct UsbEndpoint * | endp | ) |
Stall an endpoint.
endp | - The endpoint to stall |
int sceUsbbdUnregister | ( | struct UsbDriver * | drv | ) |
Unregister a USB driver.
drv | - Pointer to a filled out USB driver |
struct DeviceRequest packed |
USB EP0 Device Request.
Padded data structure, padding is required otherwise the USB hardware crashes.
struct EndpointDescriptor packed |
USB endpoint descriptor.
struct InterfaceDescriptor packed |
USB Interface descriptor.
struct ConfigDescriptor packed |
USB configuration descriptor.
struct DeviceDescriptor packed |
USB device descriptor.
struct StringDescriptor packed |
USB string descriptor.