usbpsu
Xilinx SDK Drivers API Documentation
xusb_wrapper.c File Reference

Overview

This file contains implementation of USBPSU Driver wrappers.

MODIFICATION HISTORY:
Ver   Who       Date     Changes

1.0 BK 12/01/18 First release MYK 12/01/18 Added hibernation support for device mode vak 13/03/18 Moved the setup interrupt system calls from driver to example.
 

Functions

s32 IsSuperSpeed (struct Usb_DevData *InstancePtr)
 Sets speed of the Core for connecting to Host. More...
 
void SetConfigDone (void *InstancePtr, u8 Flag)
 Set the Config state. More...
 
u8 GetConfigDone (void *InstancePtr)
 Get the Config state. More...
 
void SetEpInterval (void *InstancePtr, u8 UsbEpNum, u8 Dir, u32 Interval)
 This function sets Endpoint Interval. More...
 

Function Documentation

◆ GetConfigDone()

u8 GetConfigDone ( void *  InstancePtr)

Get the Config state.

Parameters
InstancePtris a private member of Usb_DevData instance.
Returns
Current configuration value
Note
None.

◆ IsSuperSpeed()

s32 IsSuperSpeed ( struct Usb_DevData *  InstancePtr)

Sets speed of the Core for connecting to Host.

Parameters
InstancePtris a pointer to the Usb_DevData instance.
Returns
XST_SUCCESS else XST_FAILURE
Note
None.

◆ SetConfigDone()

void SetConfigDone ( void *  InstancePtr,
u8  Flag 
)

Set the Config state.

Parameters
InstancePtris a private member of Usb_DevData instance.
Flagis the config value.
Returns
None.
Note
None.

◆ SetEpInterval()

void SetEpInterval ( void *  InstancePtr,
u8  UsbEpNum,
u8  Dir,
u32  Interval 
)

This function sets Endpoint Interval.

Parameters
InstancePtris a private member of Usb_DevData instance.
UsbEpnumis Endpoint Number.
Diris Endpoint Direction(In/Out).
Intervalis the data transfer service interval
Returns
None.
Note
None.