![]() |
usbps
Xilinx SDK Drivers API Documentation
|
This file contains the implementation of the storage class code for the example.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a wgr 10/10/10 First release 2.1 kpc 4/28/14 Align DMA buffers to cache line boundary *
Functions | |
void | XUsbPs_HandleStorageReq (XUsbPs *InstancePtr, u8 EpNum, u8 *BufferPtr, u32 BufferLen) |
This function handles Reduced Block Command (RBC) requests from the host. More... | |
void | XUsbPs_ClassReq (XUsbPs *InstancePtr, XUsbPs_SetupData *SetupData) |
This function handles a Storage Class Setup request from the host. More... | |
void XUsbPs_ClassReq | ( | XUsbPs * | InstancePtr, |
XUsbPs_SetupData * | SetupData | ||
) |
This function handles a Storage Class Setup request from the host.
InstancePtr | is a pointer to XUsbPs instance of the controller. |
SetupData | is the setup data structure containing the setup request. |
References XUsbPs_SetupData::bRequest.
void XUsbPs_HandleStorageReq | ( | XUsbPs * | InstancePtr, |
u8 | EpNum, | ||
u8 * | BufferPtr, | ||
u32 | BufferLen | ||
) |
This function handles Reduced Block Command (RBC) requests from the host.
InstancePtr | is a pointer to XUsbPs instance of the controller. |
EpNum | is the number of the endpoint on which the RBC was received. |
BufferPtr | is the data buffer containing the RBC or data. |
BufferLen | is the length of the data buffer. |