![]() |
usbpsu
Vitis Drivers API Documentation
|
Functions | |
void | XUsbPsu_PhyReset (struct XUsbPsu *InstancePtr) |
Issues core PHY reset. More... | |
s32 | XUsbPsu_WaitClearTimeout (struct XUsbPsu *InstancePtr, u32 Offset, u32 BitMask, u32 Timeout) |
Waits until a bit in a register is cleared or timeout occurs. More... | |
s32 | XUsbPsu_WaitSetTimeout (struct XUsbPsu *InstancePtr, u32 Offset, u32 BitMask, u32 Timeout) |
Waits until a bit in a register is set or timeout occurs. More... | |
u32 | XUsbPsu_ReadHwParams (struct XUsbPsu *InstancePtr, u8 RegIndex) |
Reads data from hardware parameters registers of the core. More... | |
void | XUsbPsu_SetSpeed (struct XUsbPsu *InstancePtr, u32 Speed) |
Sets speed of the core for connecting to host. More... | |
s32 | XUsbPsu_SetDeviceAddress (struct XUsbPsu *InstancePtr, u16 Addr) |
Sets the device address of the core. More... | |
s32 | XUsbPsu_SetTestMode (struct XUsbPsu *InstancePtr, u32 Mode) |
Enables USB2 test modes. More... | |
void | XUsbPsu_Idle (struct XUsbPsu *InstancePtr) |
This function puts the controller into idle state by stopping the transfers for all endpoints, stopping the usb core, and clearing the event buffers. More... | |
s32 | XUsbPsu_CoreInit (struct XUsbPsu *InstancePtr) |
Initializes the core. More... | |
void | XUsbPsu_EventBuffersSetup (struct XUsbPsu *InstancePtr) |
Sets up the event buffers so that events are written by Core. More... | |
void | XUsbPsu_Sleep (u32 USeconds) |
API for Sleep routine. More... | |